Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge pull request #69 from jglick/RunWrapper-help-JENKINS-38114
[JENKINS-38114] Consolidated help for RunWrapper
- Loading branch information
Showing
with
37 additions
and 31 deletions.
- +8 −8 pom.xml
- +13 −0 src/main/resources/org/jenkinsci/plugins/workflow/cps/RunWrapperBinder/help.groovy
- +0 −14 src/main/resources/org/jenkinsci/plugins/workflow/cps/RunWrapperBinder/help.jelly
- +14 −8 src/test/java/org/jenkinsci/plugins/workflow/WorkflowJobNonRestartingTest.java
- +2 −1 src/test/java/org/jenkinsci/plugins/workflow/cps/SnippetizerTest.java
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
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
@@ -0,0 +1,13 @@ | ||
p(raw(''' | ||
The <code>currentBuild</code> variable may be used to refer to the currently running build. | ||
It has the following readable properties: | ||
''')) | ||
raw(org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper.class.getResource("RunWrapper/help.html").text) | ||
p(raw(''' | ||
Additionally, for this build only (but not for other builds), the following properties are writable: | ||
''')) | ||
ul { | ||
li {code {b('result')}} | ||
li {code {b('displayName')}} | ||
li {code {b('description')}} | ||
} |
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