Fix: jjb: system-tests: pass modules repo to build job
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 28 Jan 2020 21:42:27 +0000 (16:42 -0500)
committerJonathan Rajotte Julien <jonathan.rajotte-julien@efficios.com>
Tue, 28 Jan 2020 21:56:13 +0000 (16:56 -0500)
When passing a custom Git repository URL to a systems-test job, the
master job doesn't pass this URL to the kernel and modules building job.
This makes the job fail when it can't checkout the desired commit on the
default remote.

To fix this, pass the URL received in the job parameter to the kernel
and modules building job.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
scripts/system-tests/generate-properties-master.sh

index 5e7c4b01371dd1068a52e61d4802f4bf03b7ca41..def54f7349ed4e2a4774b814fd1be2732ce252d3 100644 (file)
@@ -46,6 +46,7 @@ echo "STORAGE_USER=jenkins-lava" >> properties.txt
 
 echo "BUILD_DEVICE=$BUILD_DEVICE" >> properties.txt
 echo "KGITREPO=$KERNEL_REPO" >> properties.txt
+echo "LTTNG_MODULES_REPO=$LTTNG_MODULES_REPO" >> properties.txt
 echo "STORAGE_KERNEL_FOLDER=$BASE_STORAGE_FOLDER/kernel" >> properties.txt
 echo "STORAGE_KERNEL_IMAGE=$BASE_STORAGE_FOLDER/kernel/$KERNEL_COMMIT_ID.$BUILD_DEVICE.bzImage" >> properties.txt
 echo "STORAGE_LINUX_MODULES=$BASE_STORAGE_FOLDER/modules/linux/$KERNEL_COMMIT_ID.$BUILD_DEVICE.linux.modules.tar.gz" >> properties.txt
This page took 0.023614 seconds and 4 git commands to generate.