Use WS Agent config file internally
[releng/global-jjb.git] / shell / whitesource-unified-agent-cli.sh
index 750a152..6918f9c 100644 (file)
@@ -21,7 +21,7 @@ jar_location="/tmp/wss-unified-agent-$WSS_UNIFIED_AGENT_VERSION.jar"
 wget -nv https://s3.amazonaws.com/unified-agent/wss-unified-agent-$WSS_UNIFIED_AGENT_VERSION.jar \
     -O $jar_location
 echo "---> Running WhiteSource Unified Agent CLI ..."
-java -jar $jar_location -c $WSS_UNIFIED_AGENT_CONFIG \
+java -jar $jar_location -c wss-unified-agent.config \
     -product $WSS_PRODUCT_NAME -project $WSS_PROJECT_NAME \
     ${WSS_UNIFIED_AGENT_OPTIONS:-}
 rm $jar_location