From 590c961196bd987cd225de7183dbfddf392cc396 Mon Sep 17 00:00:00 2001 From: Jan Nowak Date: Fri, 7 May 2021 23:18:04 +0200 Subject: [PATCH] Run another job if success --- Jenkinsfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 265d638..fa37097 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -48,4 +48,11 @@ pipeline { } } } + post { + success { + //Uruchamianie innego zadania + build job: 's426206-training/master', parameters: [string(name: 'PARAMETRY', value: ''), string(name: 'BUILD_SELECTOR', value: '')] + + } + } }