diff options
author | Arnstein Ressem <aressem@verizonmedia.com> | 2021-09-14 10:43:13 +0200 |
---|---|---|
committer | Arnstein Ressem <aressem@verizonmedia.com> | 2021-09-14 10:43:13 +0200 |
commit | 7a6bed867fb369092fcaa06e5736f9e7130a2a80 (patch) | |
tree | 87b7da310f2ab3794557134142b6747aae59acd5 /screwdriver/delete-old-artifactory-artifacts.sh | |
parent | 6cb447d48d363e736effb6e57b82f0b9193ed077 (diff) |
Fix job name and extra artifactory path.
Diffstat (limited to 'screwdriver/delete-old-artifactory-artifacts.sh')
-rwxr-xr-x | screwdriver/delete-old-artifactory-artifacts.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/screwdriver/delete-old-artifactory-artifacts.sh b/screwdriver/delete-old-artifactory-artifacts.sh index 062e37fdaa1..431dbd221bf 100755 --- a/screwdriver/delete-old-artifactory-artifacts.sh +++ b/screwdriver/delete-old-artifactory-artifacts.sh @@ -25,7 +25,7 @@ for VERSION in $VERSIONS_TO_DELETE; do curl -sSL -H "content-type:text/plain" -H "Authorization: Bearer $JFROG_API_TOKEN" \ --data "items.find({ \"repo\": { \"\$eq\": \"vespa\" }, \"name\": {\"\$match\": \"vespa*$VERSION*\"} }).include(\"repo\", \"path\", \"name\")" \ "$ARTIFACTORY_URL/api/search/aql" \ - | jq -re ".results[]|\"$ARTIFACTORY_URL/artifactory/\(.repo)/\(.path)/\(.name)\"" >> $RPMS_TO_DELETE + | jq -re ".results[]|\"$ARTIFACTORY_URL/\(.repo)/\(.path)/\(.name)\"" >> $RPMS_TO_DELETE done echo "Deleting the following RPMs:" |