From 300038195394ba83033b6fd40afb4247b7bfabef Mon Sep 17 00:00:00 2001 From: Francis Deslauriers Date: Wed, 18 Jan 2017 14:23:31 -0500 Subject: [PATCH] Lava: Fix the name of Jenkins Lava key Signed-off-by: Francis Deslauriers --- jobs/lttng-baremetal-tests.yaml | 6 +++--- scripts/lttng-baremetal-tests/lava-submit.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/jobs/lttng-baremetal-tests.yaml b/jobs/lttng-baremetal-tests.yaml index 14a448a..f829728 100644 --- a/jobs/lttng-baremetal-tests.yaml +++ b/jobs/lttng-baremetal-tests.yaml @@ -24,7 +24,7 @@ - credentials-binding: - text: credential-id: jenkins_lava_key - variable: LAVA_FRDESO_TOKEN + variable: LAVA_JENKINS_TOKEN - inject: properties-content: | TOOLS_BRANCH={lttngversion} @@ -102,7 +102,7 @@ - credentials-binding: - text: credential-id: jenkins_lava_key - variable: LAVA_FRDESO_TOKEN + variable: LAVA_JENKINS_TOKEN - inject: properties-content: | BUILD_DEVICE=kvm @@ -177,7 +177,7 @@ - credentials-binding: - text: credential-id: jenkins_lava_key - variable: LAVA_FRDESO_TOKEN + variable: LAVA_JENKINS_TOKEN - inject: properties-content: | UST_BRANCH={lttngversion} diff --git a/scripts/lttng-baremetal-tests/lava-submit.py b/scripts/lttng-baremetal-tests/lava-submit.py index e4fbc7f..cfd73b4 100644 --- a/scripts/lttng-baremetal-tests/lava-submit.py +++ b/scripts/lttng-baremetal-tests/lava-submit.py @@ -354,9 +354,9 @@ def main(): lava_api_key = None try: - lava_api_key = os.environ['LAVA_FRDESO_TOKEN'] + lava_api_key = os.environ['LAVA_JENKINS_TOKEN'] except Exception as e: - print('LAVA_FRDESO_TOKEN not found in the environment variable. Exiting...', e ) + print('LAVA_JENKINS_TOKEN not found in the environment variable. Exiting...', e ) return -1 if test_type is TestType.baremetal_benchmarks: -- 2.34.1