From a8e655a0d8142ea583791883f336842c5f2f5bb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Mattm=C3=BCller?= Date: Mon, 4 Sep 2023 09:26:49 +0200 Subject: [PATCH] jobs/seed: use the parameter of the seeded branch for the seede jobs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The branch for the jobs to seed was set to main but we might want to seed the branch develop. Thus the parameter of the seed job replaces the hardcoded main. I am not sure if this solution works but wihtout trying we won't know :-D Signed-off-by: Marc Mattmüller --- jobs/Jenkinsfile_Seed | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jobs/Jenkinsfile_Seed b/jobs/Jenkinsfile_Seed index c3bb7cf..9dcdf0a 100644 --- a/jobs/Jenkinsfile_Seed +++ b/jobs/Jenkinsfile_Seed @@ -24,7 +24,7 @@ pipelineJob('nwl') { cpsScm { scm { git { - branches('main') + branches('$SEEDING_BRANCH') extensions { cloneOptions { depth(1) @@ -58,7 +58,7 @@ pipelineJob('nwl-target') { cpsScm { scm { git { - branches('main') + branches('$SEEDING_BRANCH') extensions { cloneOptions { depth(1) @@ -93,7 +93,7 @@ pipelineJob('nwl-update-src-rev') { cpsScm { scm { git { - branches('main') + branches('$SEEDING_BRANCH') extensions { cloneOptions { depth(1)