Skip to content

Commit

Permalink
Merge pull request jenkinsci#155 from pontuslaestadius/patch-1
Browse files Browse the repository at this point in the history
Add additional allowed methods
  • Loading branch information
stchar authored Dec 4, 2019
2 parents 912fb11 + 2146b80 commit eb34a1f
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ abstract class BasePipelineTest {
}

void registerAllowedMethods() {
helper.registerAllowedMethod("build", [Map.class], null)
helper.registerAllowedMethod("cron", [String.class], null)
helper.registerAllowedMethod("ws", [String.class, Closure.class], null)
helper.registerAllowedMethod("addShortText", [Map.class], null)
helper.registerAllowedMethod("addHtmlBadge", [Map.class], null)
helper.registerAllowedMethod("choice", [Map.class], null)
helper.registerAllowedMethod("stage", [String.class, Closure.class], null)
helper.registerAllowedMethod("stage", [String.class], null)
helper.registerAllowedMethod("node", [String.class, Closure.class], null)
Expand Down

0 comments on commit eb34a1f

Please sign in to comment.