-
Notifications
You must be signed in to change notification settings - Fork 170
[JENKINS-62448] Enhance information displayed in approval page #300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Wadeck
wants to merge
24
commits into
jenkinsci:master
Choose a base branch
from
Wadeck:UX_revamp
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
cbfedb6
[JENKINS-62448] Enhance information displayed in approval page
Wadeck b7a3312
Update src/main/java/org/jenkinsci/plugins/scriptsecurity/scripts/Scr…
Wadeck 4c583a4
Update src/main/java/org/jenkinsci/plugins/scriptsecurity/scripts/Scr…
Wadeck 349ac04
Update src/main/java/org/jenkinsci/plugins/scriptsecurity/scripts/met…
Wadeck c559fe8
Update src/main/java/org/jenkinsci/plugins/scriptsecurity/scripts/met…
Wadeck 1d39eff
Update src/main/resources/org/jenkinsci/plugins/scriptsecurity/script…
Wadeck de369d6
Update src/main/resources/org/jenkinsci/plugins/scriptsecurity/script…
Wadeck e4708f7
Update src/main/resources/org/jenkinsci/plugins/scriptsecurity/script…
Wadeck 380deda
Update src/main/resources/org/jenkinsci/plugins/scriptsecurity/script…
Wadeck 79b1995
Update src/main/resources/org/jenkinsci/plugins/scriptsecurity/script…
Wadeck 0ea0c93
Update src/main/resources/org/jenkinsci/plugins/scriptsecurity/script…
Wadeck e978559
Update src/main/resources/org/jenkinsci/plugins/scriptsecurity/script…
Wadeck eadf75f
Apply suggestions from code review
Wadeck 9bcceb4
Various updates after reviews
Wadeck 1c5493f
Merge branch 'master' into UX_revamp
Wadeck 3ee25d8
Adjust wording with Josh's proposal
Wadeck d934b69
Merge remote-tracking branch 'origin/UX_revamp' into UX_revamp
Wadeck 0b0b624
Adding migration tests
Wadeck fa17df8
Adjusting existing tests
Wadeck 8f55c06
Adjusting existing tests
Wadeck 65926ce
Adjust grammar
Wadeck 9dc032c
Adjust another wording
Wadeck 18bcb49
Merge remote-tracking branch 'origin/UX_revamp' into UX_revamp
Wadeck fcb41b7
Adjustment after review
Wadeck File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
84 changes: 84 additions & 0 deletions
84
...insci/plugins/scriptsecurity/scripts/ScriptApprovalTest/legacyApproval/scriptApproval.xml
This file contains hidden or 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,84 @@ | ||
| <?xml version='1.1' encoding='UTF-8'?> | ||
| <scriptApproval plugin="script-security@1.72-SNAPSHOT"> | ||
| <approvedScriptHashes> | ||
| <!--############################### | ||
| pipeline { | ||
| agent { label 'agent' } | ||
|
|
||
| stages { | ||
| stage('Hello') { | ||
| steps { | ||
| sh 'echo Hello' | ||
| } | ||
| } | ||
| } | ||
| } | ||
| ###############################--> | ||
| <string>ca57380cdd93d5cbff29daf6951e425d05908ea1</string> | ||
| <!--############################### | ||
| "pwd".execute() | ||
| ###############################--> | ||
| <string>146947747e2b865e621389bbb8a45fdb379e5f8d</string> | ||
| <!--############################### | ||
| jenkins.model.Jenkins.instance | ||
| ###############################--> | ||
| <string>d224435330553e6054e66fbe050cfafafeadc732</string> | ||
| <string>ade57cf30c3bd49dba1ed236844b7a8cb532988e</string> | ||
| <string>b4aedcd3a5c832ea3ebfc0a1c104e48eb2d74477</string> | ||
| <string>b841429a248cfccb551582bbfbcf2e72ba4faf0f</string> | ||
| </approvedScriptHashes> | ||
| <approvedSignatures> | ||
| <string>staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods println java.lang.Object java.lang.Object</string> | ||
| <!-- new File("parent", "child") --> | ||
| <string>new java.io.File java.lang.String java.lang.String</string> | ||
| </approvedSignatures> | ||
| <aclApprovedSignatures> | ||
| <!-- new File(".") --> | ||
| <string>new java.io.File java.lang.String</string> | ||
| </aclApprovedSignatures> | ||
| <approvedClasspathEntries> | ||
| <approvedClasspathEntry> | ||
| <hash>c8a65bd626dd7b34fc329434c9c1e728a4abe828</hash> | ||
| <url>https://repo.jenkins-ci.org/javanet2-cache/org/jvnet/hudson/main/maven-plugin/1.301/maven-plugin-1.301.hpi</url> | ||
| </approvedClasspathEntry> | ||
| </approvedClasspathEntries> | ||
| <pendingScripts> | ||
| <pendingScript> | ||
| <script> | ||
| node { | ||
| echo 'Hello' | ||
| } | ||
| </script> | ||
| <language>groovy</language> | ||
| </pendingScript> | ||
| <pendingScript> | ||
| <script> | ||
| node { | ||
| sh ''' | ||
| rm -rf newFolder | ||
| mkdir newFolder | ||
| cd newFolder | ||
| } | ||
| } | ||
| </script> | ||
| <language>groovy</language> | ||
| </pendingScript> | ||
| </pendingScripts> | ||
| <pendingSignatures> | ||
| <pendingSignature> | ||
| <context/> | ||
| <signature>method java.io.File length</signature> | ||
| <dangerous>false</dangerous> | ||
| </pendingSignature> | ||
| </pendingSignatures> | ||
| <pendingClasspathEntries> | ||
| <pendingClasspathEntry> | ||
| <context> | ||
| <user>config</user> | ||
| <item>free-for-classpath</item> | ||
| </context> | ||
| <hash>7f014e0dab147d3ae431efa1b8b1305112711b18</hash> | ||
| <url>https://repo.jenkins-ci.org/javanet2-cache/org/jvnet/hudson/main/maven-plugin/1.302/maven-plugin-1.302.hpi</url> | ||
| </pendingClasspathEntry> | ||
| </pendingClasspathEntries> | ||
| </scriptApproval> | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.