diff --git a/JenkinsFile b/JenkinsFile index 9efb689..c7c1eb8 100644 --- a/JenkinsFile +++ b/JenkinsFile @@ -46,7 +46,11 @@ pipeline { post { success { echo 'The pipeline worked!' - def pjob = build(job: 'is-registry-service-image', wait: false, propagate: false); + steps { + script { + build(job: 'is-registry-service-image', wait: false, propagate: false); + } + } } }