Skip to content

Commit 8c4e3bf

Browse files
authored
Update runBenchmark_wContrast.sh
renamed output contrast-agent-${VERSION}.jar to contrast.jar to maintain parity from previous versions
1 parent 59557ed commit 8c4e3bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/Contrast/runBenchmark_wContrast.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if $(find contrast.jar -mmin +1440); then
1616
echo "Using Contrast agent downloaded in past day"
1717
else
1818
echo "Fetching the latest Contrast agent"
19-
export VERSION=$(echo "$(curl --fail --silent "https://search.maven.org/solrsearch/select?q=g:"com.contrastsecurity"&a:"contrast-agent"&rows=20&wt=json" | jq -r '.response.docs[0].latestVersion')") && Curl --silent https://repo1.maven.org/maven2/com/contrastsecurity/contrast-agent/${VERSION}/contrast-agent-${VERSION}.jar -o contrast-agent-${VERSION}.jar
19+
export VERSION=$(echo "$(curl --fail --silent "https://search.maven.org/solrsearch/select?q=g:"com.contrastsecurity"&a:"contrast-agent"&rows=20&wt=json" | jq -r '.response.docs[0].latestVersion')") && Curl --silent https://repo1.maven.org/maven2/com/contrastsecurity/contrast-agent/${VERSION}/contrast-agent-${VERSION}.jar -o contrast.jar
2020
fi
2121

2222
if [ -d ./working ]; then

0 commit comments

Comments
 (0)