Skip to content

Commit bc22810

Browse files
committed
Drop temporary migration of pastFailedJobs.json data
1 parent 5978683 commit bc22810

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Jenkinsfile.trigger

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,7 @@ node {
5252
! wget --timeout=5 -qO past-jobs.json "$JOB_URL/lastSuccessfulBuild/artifact/past-jobs.json" \\
5353
|| ! jq 'empty' past-jobs.json \\
5454
; then
55-
# temporary migration of old data
56-
if ! wget --timeout=5 -qO past-jobs.json "$JOB_URL/lastSuccessfulBuild/artifact/pastFailedJobs.json" || ! jq 'empty' past-jobs.json; then
57-
echo '{}' > past-jobs.json
58-
fi
55+
echo '{}' > past-jobs.json
5956
fi
6057
jq -c -L.scripts --slurpfile pastJobs past-jobs.json '
6158
include "jenkins";

0 commit comments

Comments
 (0)