-
-
Notifications
You must be signed in to change notification settings - Fork 72
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 build pipeline summary publish link text with build failure warning #1150
Improve build pipeline summary publish link text with build failure warning #1150
Conversation
Signed-off-by: Andrew Leonard <[email protected]>
Signed-off-by: Andrew Leonard <[email protected]>
Signed-off-by: Andrew Leonard <[email protected]>
Signed-off-by: Andrew Leonard <[email protected]>
Signed-off-by: Andrew Leonard <[email protected]>
Signed-off-by: Andrew Leonard <[email protected]>
Signed-off-by: Andrew Leonard <[email protected]>
Signed-off-by: Andrew Leonard <[email protected]>
Signed-off-by: Andrew Leonard <[email protected]>
Signed-off-by: Andrew Leonard <[email protected]>
Signed-off-by: Andrew Leonard <[email protected]>
Signed-off-by: Andrew Leonard <[email protected]>
Signed-off-by: Andrew Leonard <[email protected]>
Thank you for creating a pull request!Please check out the information below if you have not made a pull request here before (or if you need a reminder how things work). Code Quality and Contributing GuidelinesIf you have not done so already, please familiarise yourself with our Contributing Guidelines and Code Of Conduct, even if you have contributed before. TestsGithub actions will run a set of jobs against your PR that will lint and unit test your changes. Keep an eye out for the results from these on the latest commit you submitted. For more information, please see our testing documentation. In order to run the advanced pipeline tests (executing a set of mock pipelines), it requires an admin to post |
Signed-off-by: Andrew Leonard <[email protected]>
Signed-off-by: Andrew Leonard <[email protected]>
run tests |
Does this mean build job status set as unsuccessful due to test failures will also generate this warning link? |
PR TESTER RESULT ✅ All pipelines passed! ✅ |
if not SUCCESS|UNSTABLE, yes |
@sxa @sophia-guo ready for review please |
Signed-off-by: Andrew Leonard <[email protected]>
run tests |
PR TESTER RESULT ✅ All pipelines passed! ✅ |
Signed-off-by: Andrew Leonard <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment, but pre-approving on the assumption that the answer to my question is "No" :-)
Just a note that build failure or aborted could also be the child test jobs' failure or aborted. When this warning exists don't be too scared. |
I personally would prefer no link at all if the build jar itself is built unsuccessful. The main point is if the build jar built unsuccessful with the link it may be published by accident. So if no link enabled there will be no accident at all. |
Can you clarify what you mean by "build jar"? Are you describing a situation where the warning message would not be displayed? Or do you think the warning messages isn't obvious enough in general as it still lets you override it (which is the intention here) |
build jar --> jdk tarballs.
I prefer if there are errors related with building the jdk tarball process there should not be the publish link at all. |
@andrew-m-leonard What happens here if the build fails and doesn't produce a tarball? Will it still give a link (although it wouldn't work since it would fail to publish a tarball that didn't exist)? (To be clear I don't think these questions should block this PR, but may be useful to be aware. We should perhaps add a note to the releasing guide about this 'new' functionality so it's clear what it means.) |
For release , no link will be given for this failed specific build(os-arch). |
Fixes #1149
eg.https://ci.adoptium.net/job/build-scripts/job/release-openjdk17-pipeline/80/