From b81ab1c0aa7d8a1b5714c9d0cc389f78e8eabdee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Wed, 27 Jan 2021 12:37:59 +0100 Subject: [PATCH] fix: wrong variable assignment --- .ci/Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci/Jenkinsfile b/.ci/Jenkinsfile index 356a5c573f..acaff7dc31 100644 --- a/.ci/Jenkinsfile +++ b/.ci/Jenkinsfile @@ -319,11 +319,11 @@ def generateFunctionalTestStep(Map args = [:]){ // We will decide whether to include the nightly tests in the execution at CI time, only. // On the other hand, the developers can use the TAGS environment variable locally. // Finally, we positively know that tags are not empty, so we can use AND operator. + def excludeNightlyTag = " && ~${NIGHTLY_TAG}" if ("${NIGHTLY_SCENARIOS}" == "true") { - tags + " && ${NIGHTLY_TAG}" - } else { - tags + " && ~${NIGHTLY_TAG}" + excludeNightlyTag = "" } + tags += excludeNightlyTag return { node("${platform} && immutable && docker") {