Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from synopsys-arc-oss/additional-exported-paths
Added support of the label-specific exported paths (JENKINS-18774)
- Loading branch information
Showing
12 changed files
with
125 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/java/com/synopsys/arc/jenkinsci/plugins/customtools/CustomToolsLogger.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...in/resources/com/cloudbees/jenkins/plugins/customtools/CustomTool/help-exportedPaths.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<div> | ||
Comma-separated list of the additional paths to be exported. | ||
Plugin supports both absolute and relative paths (base directory - tool's HomeDir). | ||
</div> |
20 changes: 20 additions & 0 deletions
20
...main/resources/com/synopsys/arc/jenkinsci/plugins/customtools/LabelSpecifics/config.jelly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?jelly escape-by-default='true'?> | ||
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"> | ||
<!-- <table width="100%"> --> | ||
<f:entry title="${%Label}" field="label"> | ||
<f:textbox/> | ||
</f:entry> | ||
<f:entry title="${%Exported paths}" field="exportedPaths"> | ||
<f:textbox/> | ||
</f:entry> | ||
<f:entry title="${%Additional variables}" field="additionalVars"> | ||
<f:textarea/> | ||
</f:entry> | ||
<f:entry title=""> | ||
<div align="right"> | ||
<f:repeatableDeleteButton value="Remove..."/> | ||
</div> | ||
</f:entry> | ||
<!-- </table> --> | ||
|
||
</j:jelly> |
5 changes: 5 additions & 0 deletions
5
...es/com/synopsys/arc/jenkinsci/plugins/customtools/LabelSpecifics/help-additionalVars.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<div> | ||
Additional variables to be exported into environment. Existing variables will be overridden. | ||
<p>Field supports environment variables, non-existent variables will be replaced by the empty strings. In case of the list variables, you can reuse variable in parameter.</p> | ||
<p>Example: <b>LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:myPath</b> </p> | ||
</div> |
4 changes: 4 additions & 0 deletions
4
...ces/com/synopsys/arc/jenkinsci/plugins/customtools/LabelSpecifics/help-exportedPaths.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<div> | ||
Comma-separated list of the additional paths to be exported. | ||
Plugin supports both absolute and relative paths (base directory - tool's HomeDir). | ||
</div> |
4 changes: 4 additions & 0 deletions
4
...n/resources/com/synopsys/arc/jenkinsci/plugins/customtools/LabelSpecifics/help-label.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<div> | ||
Label expression of the node, to which specifics should be applied. | ||
Described specifics will be ignored for other nodes. | ||
</div> |
4 changes: 4 additions & 0 deletions
4
src/main/resources/com/synopsys/arc/jenkinsci/plugins/customtools/LabelSpecifics/help.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<div> | ||
Adds label-specific options, which will be applied only if the node satisfy specified labels. | ||
<p>Each field supports substitution of parameters</p> | ||
</div> |
1 change: 1 addition & 0 deletions
1
src/main/resources/com/synopsys/arc/jenkinsci/plugins/customtools/Messages.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
LabelSpecifics.DisplayName=Label specifics |