diff --git a/vars/buildPodman.groovy b/vars/buildPodman.groovy index 82bc2c7a..bb5aa1fe 100644 --- a/vars/buildPodman.groovy +++ b/vars/buildPodman.groovy @@ -1,6 +1,6 @@ // Common container builder by ZeroDownTime -def call(Map config) { +def call(Map config=[:], Closure extraSteps) { pipeline { agent { node { @@ -59,6 +59,8 @@ def call(Map config) { sh 'make push' } } + + extraSteps() } } }