-
Had to make a couple tweaks to run:
--- mr-failed-jobs.bash 2024-11-01 06:46:54 +++ mr-jobs.bash 2024-11-01 07:23:02 @@ -32,7 +32,7 @@ continue fi - if [[ "$JOB_STATUS" != "failed" ]]; then + if [[ "$JOB_STATUS" != "Failed" ]]; then continue fi @@ -44,8 +44,10 @@ continue fi - # Wait for a single job before starting new one - [[ $(jobs | wc -l) -ge $MAX_JOBS ]] && wait -n + if [[ "$JOB_BUILD_PATH" == "x" ]]; then + # Wait for a single job before starting new one + [[ $(jobs | wc -l) -ge $MAX_JOBS ]] && wait -n + fi stderr "$JOB_NAME/$JOB_STATUS: downloading trace..." mkdir -p "$OUTPUT_DIR/$PIPELINE_ID"
Please register or sign in to comment