-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
src/main/resources/hudson/plugins/groovy/GroovyTokenMacro/help.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,12 @@ | ||
<j:jelly xmlns:j="jelly:core"> | ||
<dt>$${GROOVY,script = "code"}</dt> | ||
<dd> | ||
Executes Groovy code<br/> | ||
<b>Example:</b><br/> | ||
$${GROOVY,script = "return hudson.model.Hudson.instance.pluginManager.plugins"}<br/> | ||
<b>Note:</b><br/> | ||
By default, the support for token macro pressing is switched off and has to be switch on in global config page.<br/> | ||
<b>Warning:</b><br/> | ||
If token macro processing via Token Macro Plugin is allowed, the evaluation of macro is done in System Groovy, therefore any user can run arbitrary system script, regardless he has administer permission! | ||
</dd> | ||
</j:jelly> |