Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
81 additions
and 16 deletions.
- +35 −4 src/main/java/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/AdditionalClasspath.java
- +4 −0 src/main/java/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/SecureGroovyScript.java
- +29 −12 src/main/java/org/jenkinsci/plugins/scriptsecurity/scripts/ScriptApproval.java
- +6 −0 .../resources/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/AdditionalClasspath/help-path.html
- +4 −0 src/main/resources/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/Messages.properties
- +3 −0 ...kinsci/plugins/scriptsecurity/sandbox/groovy/SecureGroovyScript/help-additionalClasspathList.html
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
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,6 @@ | ||
<div> | ||
A path to a jar file or a directory containing class files. | ||
Must be an absolute path. | ||
This path should be approved by an administrator or a user with the RUN_SCRIPT permission, or the script fails. | ||
If the file or files are once approved, they are treated approved even located in another path. | ||
</div> |
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,4 @@ | ||
AdditionalClasspath.DisplayName=classpath | ||
AdditionalClasspath.path.notAbsolute=Classpath must be absolute | ||
AdditionalClasspath.path.notExists=Specified path does not exist | ||
AdditionalClasspath.path.notApproved=This classpath is not approved. Require an approval before execution. |
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,3 @@ | ||
<div> | ||
Additional classpaths accessible from the groovy script. | ||
</div> |