Limit whitesource scan to SP or master [skip ci]

This commit is contained in:
Alex Mukha
2019-06-05 21:44:38 +01:00
parent 6e221bc57a
commit 4f309382db

View File

@@ -25,8 +25,8 @@ jobs:
name: "Build and test"
script: travis_retry mvn test
- 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
# only on SP branches or master and if it is not a PR
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