Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
fix: wrong variable assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Jan 27, 2021
1 parent df8b42d commit b81ab1c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit b81ab1c

Please sign in to comment.