Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JENKINS-13209 System Groovy script support
Add system script checkbox in configuration UI Add log/out/job variables to groovy shell Setup the SYSTEM user during script execution Log envvars used for script re-writing Log messages and stack traces if the groovy script fails
- Loading branch information
Showing
4 changed files
with
144 additions
and
43 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
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
...ain/resources/org/jenkinsci/plugins/scripttrigger/groovy/GroovyScriptTrigger/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
9 changes: 9 additions & 0 deletions
9
...g/jenkinsci/plugins/scripttrigger/groovy/GroovyScriptTrigger/help-groovySystemScript.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,9 @@ | ||
<div> | ||
<p> | ||
If checked run the groovy script as a system script, the script will have access to the same | ||
variables as the Groovy Console including the hudson and job models. | ||
<br/> | ||
If not checked run the groovy script on the executor node, the script will not have access | ||
to the hudson or job model. | ||
</p> | ||
</div> |