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 #69 from jglick/RunWrapper-help-JENKINS-38114
[JENKINS-38114] Consolidated help for RunWrapper
- Loading branch information
Showing
5 changed files
with
37 additions
and
31 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
13 changes: 13 additions & 0 deletions
13
src/main/resources/org/jenkinsci/plugins/workflow/cps/RunWrapperBinder/help.groovy
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,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')}} | ||
} |
14 changes: 0 additions & 14 deletions
14
src/main/resources/org/jenkinsci/plugins/workflow/cps/RunWrapperBinder/help.jelly
This file was deleted.
Oops, something went wrong.
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