Skip to content

Commit

Permalink
Add container method with Map Param (name, shell)
Browse files Browse the repository at this point in the history
Co-authored-by: Nik Reiman <[email protected]>
  • Loading branch information
Willem1987 and nre-ableton authored Sep 21, 2020
1 parent 03861af commit f437687
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ abstract class BasePipelineTest {
helper.registerAllowedMethod("choice", [Map])
helper.registerAllowedMethod('cifsPublisher', [Map], {true})
helper.registerAllowedMethod('cleanWs')
helper.registerAllowedMethod("container", [Map, Closure], { Map args, Closure c ->
c.delegate = delegate
helper.callClosure(c)
})
helper.registerAllowedMethod("container", [String, Closure], { String path, Closure c ->
c.delegate = delegate
helper.callClosure(c)
Expand Down

0 comments on commit f437687

Please sign in to comment.