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

(cherry picked from commit 857e3bc1e9)
This commit is contained in:
Alan Davis
2020-04-12 16:49:26 +01:00
parent 8d441c9688
commit c14d372d21

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
- stage: release