-
Notifications
You must be signed in to change notification settings - Fork 134
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
Resume build to include UNSTABLE and ABORTED jobs #88
Conversation
Thank you for this pull request! Please check this document for how the Jenkins project handles pull requests. |
@dcendents |
Resume build to include UNSTABLE and ABORTED jobs
Thanks |
It does restart from the beginning, after all this is a new build of the multijob project, but it should not re-run successful items of the build. e.g.: Multijob build 1 --> FAILED If you resume this build you should expect to see Multijob build 2 --> new build Hopes this males sense |
@dcendents my point is if you see the screenshot, it's restarting all the green builds when I click on resume. so when I hit resume, it builds API Gateway - Maven job again even though it was already green. I expected it to resume at Update Services - Cucumber Tests |
@emoshaya-cognito I tried to explain that the resume functionality will not jump over the green builds. But it should not trigger a new build of the green project but simply link to that green build, thus effectively skipping it. I don't know how else to explain it. Multijob build started Resume that build: This time the build will only take 10 minutes, re-running 3 and 5 only, but you will still see 1, 2 and 4 as if they were actually run, but they didn't. If you want a different behavior, feel free to implement it and submit a pull request, but please don't break the current behavior for the rest of us as this is how we actually want it. |
I'm trying to tell you it's not skipping the green builds it's starting them up again.... |
then I don't know, version 1.20 was working fine for me, except it would not restart UNSTABLE builds, hence my PR. Note that this PR has been merged but it is not released yet, so you will need to build it yourself and install it manually in jenkins. |
will there be a way to not resume from unstable builds only from failed or aborted builds? I only ask because we have a known unstable build that we don't really want to resume from again i.e. known test failures. |
no there isn't, the goal to resume a build is to make it stable, so it will re-run unstable jobs as well |
Hi,
I have adapted the resume build feature (#73) to include any job which did not result in SUCCESS. Previously it would only rebuild FAILED jobs and link to the previous build for UNSTABLE or ABORTED jobs.
@sshelomentsev: I'd appreciate if you can review the modifications I have made
Thanks