jobs/seed: use the parameter of the seeded branch for the seede jobs

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 <marc.mattmueller@netmodule.com>
This commit is contained in:
Marc Mattmüller 2023-09-04 09:26:49 +02:00
parent 6779ef5846
commit a8e655a0d8
1 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ pipelineJob('nwl') {
cpsScm { cpsScm {
scm { scm {
git { git {
branches('main') branches('$SEEDING_BRANCH')
extensions { extensions {
cloneOptions { cloneOptions {
depth(1) depth(1)
@ -58,7 +58,7 @@ pipelineJob('nwl-target') {
cpsScm { cpsScm {
scm { scm {
git { git {
branches('main') branches('$SEEDING_BRANCH')
extensions { extensions {
cloneOptions { cloneOptions {
depth(1) depth(1)
@ -93,7 +93,7 @@ pipelineJob('nwl-update-src-rev') {
cpsScm { cpsScm {
scm { scm {
git { git {
branches('main') branches('$SEEDING_BRANCH')
extensions { extensions {
cloneOptions { cloneOptions {
depth(1) depth(1)