Skip to content

Commit

Permalink
Drop temporary migration of pastFailedJobs.json data
Browse files Browse the repository at this point in the history
  • Loading branch information
yosifkit committed Dec 10, 2024
1 parent 582ef7c commit 0f0a52e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Jenkinsfile.trigger
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,7 @@ node {
! wget --timeout=5 -qO past-jobs.json "$JOB_URL/lastSuccessfulBuild/artifact/past-jobs.json" \\
|| ! jq 'empty' past-jobs.json \\
; then
# temporary migration of old data
if ! wget --timeout=5 -qO past-jobs.json "$JOB_URL/lastSuccessfulBuild/artifact/pastFailedJobs.json" || ! jq 'empty' past-jobs.json; then
echo '{}' > past-jobs.json
fi
echo '{}' > past-jobs.json
fi
jq -c -L.scripts --slurpfile pastJobs past-jobs.json '
include "jenkins";
Expand Down

0 comments on commit 0f0a52e

Please sign in to comment.