Skip to content

Commit

Permalink
Merge pull request #576 from Vlatombe/historicalbuild
Browse files Browse the repository at this point in the history
Whitelist method moved from `Run#getFullDisplayName` to `HistoricalBuild#getFullDisplayName`
  • Loading branch information
jglick authored Sep 11, 2024
2 parents b26663c + b12683a commit 9131007
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
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 @@ static void sanity(URL definition) throws Exception {
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

0 comments on commit 9131007

Please sign in to comment.