File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -752,7 +752,7 @@ elif [ "RHEL" = "$KERNEL_TYPE" ]; then
752752 echo Building RHEL from Stored Sources
753753
754754 # We're using aql to query for all of the objects in the repo
755- JSON_RESULT=$( curl -H ' Content-Type: text/plain' -H " X-JFrog-Art-Api:$INTERNAL_ARTIFACTORY_API_KEY " -X POST -d ' items.find({"repo":"redhat-sources"})' https:/// artifactory.internal.sysdig.com/artifactory/api/search/aql)
755+ JSON_RESULT=$( curl -H ' Content-Type: text/plain' -H " X-JFrog-Art-Api:$INTERNAL_ARTIFACTORY_API_KEY " -X POST -d ' items.find({"repo":"redhat-sources"})' https://artifactory.internal.sysdig.com/artifactory/api/search/aql)
756756
757757 # Use jq to parse the json to get the rpms
758758 URLS=$( echo " $JSON_RESULT " | jq -r ' .results[].name as $o | $o | select(endswith(".rpm")) | "https://artifactory.internal.sysdig.com/artifactory/redhat-sources/" + $o' )
You can’t perform that action at this time.
0 commit comments