From 70742175fce0f69d980f2dc7440e306a14bfe9b9 Mon Sep 17 00:00:00 2001 From: Francis Deslauriers Date: Tue, 28 Feb 2017 12:07:39 -0500 Subject: [PATCH] jjb: Add LTTng-Modules repo parameter for more flexible testing Signed-off-by: Francis Deslauriers --- jobs/lttng-baremetal-tests.yaml | 4 ++++ scripts/lttng-baremetal-tests/generate-properties-slave.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/jobs/lttng-baremetal-tests.yaml b/jobs/lttng-baremetal-tests.yaml index 27e7195..bef4fa1 100644 --- a/jobs/lttng-baremetal-tests.yaml +++ b/jobs/lttng-baremetal-tests.yaml @@ -445,6 +445,10 @@ - string: name: 'LTTNG_MODULES_COMMIT_ID' description: 'The lttng-modules commmit to build.' + - string: + name: 'LTTNG_MODULES_REPO' + description: 'The LTTng Modules git repo to fetch from' + default: 'git://git-mirror.internal.efficios.com/lttng/lttng-modules.git' - string: name: 'KERNEL_COMMIT_ID' description: 'The kernel commit to build.' diff --git a/scripts/lttng-baremetal-tests/generate-properties-slave.sh b/scripts/lttng-baremetal-tests/generate-properties-slave.sh index 3a72207..d82119c 100644 --- a/scripts/lttng-baremetal-tests/generate-properties-slave.sh +++ b/scripts/lttng-baremetal-tests/generate-properties-slave.sh @@ -24,7 +24,7 @@ LTTNG_CI_PATH="$WORKSPACE/src/lttng-ci" LINUX_PATH="$WORKSPACE/src/linux" LTTNG_MODULES_PATH="$WORKSPACE/src/lttng-modules" -echo "LTTNG_MODULES_GIT=git://git-mirror.internal.efficios.com/lttng/lttng-modules.git" >> properties.txt +echo "LTTNG_MODULES_GIT=$LTTNG_MODULES_REPO" >> properties.txt echo "LTTNG_CI_PATH=$LTTNG_CI_PATH" >> properties.txt echo "LINUX_PATH=$LINUX_PATH" >> properties.txt echo "LTTNG_MODULES_PATH=$LTTNG_MODULES_PATH" >> properties.txt -- 2.34.1