diff --git a/src/test/java/org/jenkinsci/plugins/scriptsecurity/sandbox/whitelists/StaticWhitelistTest.java b/src/test/java/org/jenkinsci/plugins/scriptsecurity/sandbox/whitelists/StaticWhitelistTest.java index d2398d11..37144ab8 100644 --- a/src/test/java/org/jenkinsci/plugins/scriptsecurity/sandbox/whitelists/StaticWhitelistTest.java +++ b/src/test/java/org/jenkinsci/plugins/scriptsecurity/sandbox/whitelists/StaticWhitelistTest.java @@ -156,6 +156,10 @@ static void sanity(URL definition) throws Exception { new MethodSignature(MatchResult.class, "hasMatch"), new MethodSignature(MatchResult.class, "namedGroups"), new MethodSignature(MatchResult.class, "start", String.class), + // TODO No longer exists after Jenkins includes https://github.com/jenkinsci/jenkins/pull/9674 + // Remove once plugin depends on Jenkins 2.477 or newer + // Remove from jenkins-whitelist at the same time + new MethodSignature("hudson.model.Run", "getFullDisplayName"), // TODO Do not exist until Jenkins includes https://github.com/jenkinsci/jenkins/pull/9674 new MethodSignature("jenkins.model.HistoricalBuild", "getFullDisplayName") ));