REPO-4974 Pick up latest released version of the whitesource jar

This commit is contained in:
Alan Davis
2020-04-20 17:31:46 +01:00
parent a69cc3006c
commit e3b4c98a72

View File

@@ -29,7 +29,7 @@ jobs:
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
- curl -LJO https://github.com/whitesource/unified-agent-distribution/releases/latest/download/wss-unified-agent.jar
# Run WhiteSource Unified Agent
- java -jar wss-unified-agent.jar -apiKey ${WHITESOURCE_API_KEY} -c .wss-unified-agent.config
- name: "Source Clear Scan"