mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Limit WhiteSource scan to support branches or master
This commit is contained in:
@@ -21,7 +21,7 @@ matrix:
|
|||||||
script: travis_retry mvn test
|
script: travis_retry mvn test
|
||||||
- name: "WhiteSource scan"
|
- name: "WhiteSource scan"
|
||||||
# only on master and if it is not a PR
|
# only on master and if it is not a PR
|
||||||
if: fork = false AND branch = master AND type != pull_request
|
if: fork = false AND (branch = master OR branch =~ /support\/.*/) AND type != pull_request
|
||||||
script:
|
script:
|
||||||
# Download the latest version of WhiteSource Unified Agent
|
# Download the latest version of WhiteSource Unified Agent
|
||||||
- curl -LJO https://github.com/whitesource/unified-agent-distribution/raw/master/standAlone/wss-unified-agent.jar
|
- curl -LJO https://github.com/whitesource/unified-agent-distribution/raw/master/standAlone/wss-unified-agent.jar
|
||||||
|
Reference in New Issue
Block a user