Skip to content

Commit bc841e2

Browse files
authored
Update download URLs (#20)
1 parent bce7ae5 commit bc841e2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jenkins/new-engine-scan/Jenkinsfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ pipeline {
66
steps {
77
withCredentials([usernamePassword(credentialsId: 'sysdig-secure-api-credentials', passwordVariable: 'SECURE_API_TOKEN', usernameVariable: '')]) {
88
sh '''
9-
VERSION=$(curl -L -s https://download.sysdig.com/scanning/inlinescan/latest_version.txt)
10-
curl -LO "https://download.sysdig.com/scanning/inlinescan/inlinescan_${VERSION}_linux_amd64"
11-
chmod +x ./inlinescan_${VERSION}_linux_amd64
12-
./inlinescan_${VERSION}_linux_amd64 --apiurl https://secure.sysdig.com mongo-express:0.54.0
9+
VERSION=$(curl -L -s https://download.sysdig.com/scanning/sysdig-cli-scanner/latest_version.txt)
10+
curl -LO "https://download.sysdig.com/scanning/bin/sysdig-cli-scanner/${VERSION}/linux/amd64/sysdig-cli-scanner"
11+
chmod +x ./sysdig-cli-scanner
12+
./sysdig-cli-scanner --apiurl https://secure.sysdig.com mongo-express:0.54.0
1313
'''
1414
}
1515
}

0 commit comments

Comments
 (0)