]> source.dussan.org Git - sonarqube.git/commitdiff
NO-JIRA Fix validate task running condition
authorPhilippe Perrin <philippe.perrin@sonarsource.com>
Wed, 25 May 2022 06:30:10 +0000 (08:30 +0200)
committersonartech <sonartech@sonarsource.com>
Wed, 25 May 2022 20:03:17 +0000 (20:03 +0000)
.cirrus.yml

index 1d174708675952ea8d0cc8cb769705e39670816d..69d17989fc63e9443c4a26a2462906bf92812bbc 100644 (file)
@@ -224,7 +224,7 @@ validate_task:
   <<: *JEST_REPORT_CACHE_TEMPLATE
   <<: *ESLINT_REPORT_CACHE_TEMPLATE
   <<: *JUNIT_REPORT_CACHE_TEMPLATE
-  only_if: $CIRRUS_BRANCH != "public_master" || $CIRRUS_BRANCH != "branch-nightly-build"
+  only_if: $CIRRUS_BRANCH != "public_master" && $CIRRUS_BRANCH != "branch-nightly-build"
   depends_on:
     - yarn_validate-ci
     - yarn_lint-report-ci