Skip to content

Commit 1fc36e7

Browse files
authored
Take rerun job status when setting the original job status. (#6407)
* Update job status based on parallel and rerun job status Signed-off-by: Sophia Guo <[email protected]> * Set current status as best one. Signed-off-by: Sophia Guo <[email protected]> * Set original status as UNSTABLE for non parallel rerun Signed-off-by: Sophia Guo <[email protected]> * typo * Remove unnecessary comment * Ensure non-parallel jobs don't do extra archive steps Signed-off-by: Sophia Guo <[email protected]> * Set env.PARALLEL="None" if job falls back to non-parallel params.PARALLEL is immutable. Signed-off-by: Sophia Guo <[email protected]> * Only set job result at the end of all stages Signed-off-by: Sophia Guo <[email protected]> * Update comment to be accurate Signed-off-by: Sophia Guo <[email protected]> * Add jenkins context Signed-off-by: Sophia Guo <[email protected]> * Set currentJob.result at the end of job After the rerun if there is any. Signed-off-by: Sophia Guo <[email protected]> * Separate non-parallel and parallel rerun Signed-off-by: Sophia Guo <[email protected]> * Set env.PARALLEL=None for all non parallel cases * Record parallel status for rerun use * Check Failed List for rerun builds Signed-off-by: Sophia Guo <[email protected]> * more comment * Explicatally set job result * Set failed tests jobs enabled rerun * junit Skip marking build as unstable on test failure * Get Failed testcases after each run and Add rerun links after all runs Signed-off-by: Sophia Guo <[email protected]> * set url * set job status for child rerun jobs * Only add rerun failed testlist link if rerun custom is unavailable * Remove _custom target from failed tests lists Signed-off-by: Sophia Guo <[email protected]> * Can not run parallel if jobs fail at stages before building tests * Set original job status if rerun is not enabled. Signed-off-by: Sophia Guo <[email protected]> * If rerun job result is better only reset build result for non openj9 or IBM Signed-off-by: Sophia Guo <[email protected]> --------- Signed-off-by: Sophia Guo <[email protected]>
1 parent 45f452b commit 1fc36e7

File tree

2 files changed

+196
-164
lines changed

2 files changed

+196
-164
lines changed

0 commit comments

Comments
 (0)