From e0ae8a99e0cf4a1ccc094550d4f12ce3aaa7cb0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Mattm=C3=BCller?= Date: Mon, 4 Sep 2023 10:02:19 +0200 Subject: [PATCH] jobs/seed: moved environment getter into pipeline statement MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc Mattmüller --- jobs/Jenkinsfile_Seed | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/jobs/Jenkinsfile_Seed b/jobs/Jenkinsfile_Seed index fd76921..9cfb6f6 100644 --- a/jobs/Jenkinsfile_Seed +++ b/jobs/Jenkinsfile_Seed @@ -1,6 +1,6 @@ -def branchToUse = "${env.SEEDING_BRANCH}" - pipelineJob('nwl') { + def branchToUse = binding.variables.get("SEEDING_BRANCH") + displayName('1. NWL CI Pipeline') description('CI pipeline for the NetModule Wireless Linux') authorization { @@ -44,6 +44,8 @@ pipelineJob('nwl') { } pipelineJob('nwl-target') { + def branchToUse = binding.variables.get("SEEDING_BRANCH") + displayName('2. NWL Yocto Build') description('CI pipeline building a NetModule Wireless Linux Yocto Target') authorization { @@ -79,6 +81,8 @@ pipelineJob('nwl-target') { pipelineJob('nwl-update-src-rev') { + def branchToUse = binding.variables.get("SEEDING_BRANCH") + displayName('0. Update Source Revisions') description('CI pipeline updating the source revisions for the NetModule Wireless Linux') authorization {