Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-22834] Added help texts and input validations.
- Loading branch information
Showing
6 changed files
with
81 additions
and
16 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
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
6 changes: 6 additions & 0 deletions
6
...es/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/AdditionalClasspath/help-path.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,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> |
4 changes: 4 additions & 0 deletions
4
src/main/resources/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/Messages.properties
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,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. |
3 changes: 3 additions & 0 deletions
3
...lugins/scriptsecurity/sandbox/groovy/SecureGroovyScript/help-additionalClasspathList.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,3 @@ | ||
<div> | ||
Additional classpaths accessible from the groovy script. | ||
</div> |