Skip to content

Commit 9f8f0bf

Browse files
Resolve copilot's comments
1 parent 3f19df9 commit 9f8f0bf

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

mlir/utils/jenkins/Jenkinsfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1438,9 +1438,6 @@ PY
14381438
dir ('build') {
14391439
stash name: "MLIR-PerfDB-${params.canXdlops ? CHIP : 'vanilla'}", includes: "*.tsv"
14401440
}
1441-
// Publish this arch's DBs immediately so they're visible without waiting for other parallel branches
1442-
archiveArtifacts artifacts: "build/*.tsv",
1443-
allowEmptyArchive: true, onlyIfSuccessful: false
14441441
}
14451442
}
14461443
}
@@ -1450,11 +1447,13 @@ PY
14501447
throw e
14511448
}
14521449
finally {
1453-
// Best-effort: publish any partial DBs produced before a failure/abort so unfinished branches still surface artifacts
1450+
// Publish per-arch tuning DBs as soon as this branch finishes so artifacts published without waiting for other parallel branches
14541451
try {
14551452
archiveArtifacts artifacts: "build/*.tsv",
14561453
allowEmptyArchive: true, onlyIfSuccessful: false
1457-
} catch (ignored) {}
1454+
} catch (Exception archiveErr) {
1455+
echo "[CI] archiveArtifacts of tuning DBs failed: ${archiveErr.message}"
1456+
}
14581457
cleanWs()
14591458
}
14601459
}

0 commit comments

Comments
 (0)