-
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
Reuse successfully subbuilds from previous build [JENKINS-19524] #73
Conversation
Hi! |
Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests |
Definitely a great PR!! Hopefully this gets merged soon! |
👍 I hope this PR will be merged. :) |
|
||
import java.io.IOException; | ||
|
||
public class MultiJobResumeBuild implements ProminentProjectAction { |
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.
NiT: as I see the plugin mostly uses spaces for the tabulation. It would be better to follow this approach
Actually no. There may be many causes of different and/or similar types. A common example is Rebuild plugin, which adds an additional cause without modifying previous ones |
Reuse successfully subbuilds from previous build [JENKINS-19524]
Hi @hagzag! |
Hi @sshelomentsev what am I missing ? I have the same issue. Exactly how do we reuse the previous successful build? Is there a postbuild action we need to enable |
Hi @sshelomentsev Thank you for the screenshot. Stupidly I was not using the plugin from your branch.. I need to rebuild the plugin to be able to use it. Thanks for your help!! |
@sshelomentsev By the way, It would be really really nice if this plugin allowed for the build to pause after a certain phase waiting for manual promotion/resume. This would allow for phases requiring manual deployments to be included in the multijob. Unfortunately, we are having to use the promoted builds plugin in the multijob to trigger another job for deployment of the application. Unfortunately, this means the deployment job and post deployment jobs are missing from the visual pipeline and is not represented in the multijob phases. The workflow plugin already allows for a phase to pause and for it to resume following manual input. |
I have a problem with re-running a failed job |
Hi @shacharbz |
@sshelomentsev |
works ok now, PR merged, Thanks again! |
Any reason why we cannot resume an UNSTABLE build? The way I configure my jobs, when a build is not STABLE, most of the time it is UNSTABLE and rarely FAILED. I don't mind doing a PR myself to add the feature, but maybe there's a good reason why it was not done this way? I'd appreciate your input. Thanks |
@dcendents |
https://issues.jenkins-ci.org/browse/JENKINS-19524