Disable whitesource on HF branches

This commit is contained in:
Alex Mukha
2019-06-28 15:48:13 +01:00
parent f669c1f559
commit ca306f7ffe

View File

@@ -23,7 +23,7 @@ matrix:
script: mvn test -B -Dtest=AllUnitTestsSuite
- name: "WhiteSource scan"
# only on support branches or master and if it is not a PR
if: fork = false AND (branch = master OR branch =~ /support\/.*/) AND type != pull_request
if: fork = false AND (branch = master OR branch =~ /support\/SP\/.*/) AND type != pull_request
script:
# Download the latest version of WhiteSource Unified Agent
- curl -LJO https://github.com/whitesource/unified-agent-distribution/raw/master/standAlone/wss-unified-agent.jar