From 3ff85a6d8035fada64bd0ac32ee81eea5554cf36 Mon Sep 17 00:00:00 2001 From: Kevin Hilman Date: Tue, 11 Aug 2020 11:30:16 -0700 Subject: [PATCH] jobs/rootfs-trigger: pass KCI_CORE_[URL|BRANCH] The trigger job should pass KCI_CORE_[URL|BRANCH] to the build job to be sure that both trigger and build are using the same source. Without this, modifying the URL/branch in the trigger job has no effect on the build job. Signed-off-by: Kevin Hilman --- jobs/rootfs-trigger.jpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jobs/rootfs-trigger.jpl b/jobs/rootfs-trigger.jpl index b3abc72..0676304 100644 --- a/jobs/rootfs-trigger.jpl +++ b/jobs/rootfs-trigger.jpl @@ -76,6 +76,8 @@ def buildRootfsStep(job, config ,arch) { 'ROOTFS_CONFIG': config, 'ROOTFS_ARCH': arch, 'PIPELINE_VERSION':pipeline_version, + 'KCI_CORE_URL': "${params.KCI_CORE_URL}", + 'KCI_CORE_BRANCH': "${params.KCI_CORE_BRANCH}", ] def job_params = []