Skip to content
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

Whitelist method moved from Run#getFullDisplayName to HistoricalBuild#getFullDisplayName #576

Merged
merged 2 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ method hudson.tools.ToolInstallation getHome
method hudson.tools.ToolInstallation getName
method jenkins.model.CauseOfInterruption getShortDescription
method jenkins.model.CauseOfInterruption$UserInterruption getUserId
method jenkins.model.HistoricalBuild getFullDisplayName
staticField jenkins.model.Jenkins VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,9 @@
new MethodSignature(MatchResult.class, "group", String.class),
new MethodSignature(MatchResult.class, "hasMatch"),
new MethodSignature(MatchResult.class, "namedGroups"),
new MethodSignature(MatchResult.class, "start", String.class)
new MethodSignature(MatchResult.class, "start", String.class),
// TODO Do not exist until Jenkins includes https://github.com/jenkinsci/jenkins/pull/9674

Check warning on line 159 in src/test/java/org/jenkinsci/plugins/scriptsecurity/sandbox/whitelists/StaticWhitelistTest.java

View check run for this annotation

ci.jenkins.io / Open Tasks Scanner

TODO

NORMAL: Do not exist until Jenkins includes https://github.com/jenkinsci/jenkins/pull/9674
new MethodSignature("jenkins.model.HistoricalBuild", "getFullDisplayName")
));

@Test public void sanity() throws Exception {
Expand Down