From a9c7b7b4cf8eedfa6f197609c97aae7f81d6c910 Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Fri, 6 Oct 2023 14:32:42 +0200 Subject: [PATCH] add step to post action --- JenkinsFile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); + } + } } }