Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve status handling of job defined by aqaTestPipeline.groovy #5968

Open
sophia-guo opened this issue Feb 21, 2025 · 0 comments · May be fixed by #5969
Open

Improve status handling of job defined by aqaTestPipeline.groovy #5968

sophia-guo opened this issue Feb 21, 2025 · 0 comments · May be fixed by #5969
Assignees

Comments

@sophia-guo
Copy link
Contributor

The existing strategy for determining the parent job status is based on whether child jobs succeed. If any child job doesn't succeed the parent job is marked 'Failure' https://github.com/adoptium/aqa-tests/blob/master/buildenv/jenkins/aqaTestPipeline.groovy#L316-L318, even if the worst child jobs status is 'unstable'.

This approach does not effectively represent the overall state of the pipeline, as it doesn't distinguish between different failure levels of child jobs. Instead, a better strategy would be to set the parent jobs status based on the worst status among child jobs. The benefits is to provide a more accurate summary of pipeline execution, which is really helpful when child jobs are test jobs and we need to know if jobs is unstable ( tests finished) or failed , aborted ( tests might not be finished at all).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

1 participant