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

Add a listener to handle starting and completing child jobs #84

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sshelomentsev
Copy link

In some use cases, there is a need to retry the child job within this multi job. The current retry strategy that uses parsing of the console output isn't siutable.
Our use case:

  1. We are want to integrate naginator plugin to rerun child job.
  2. We are use our plugin, which keeps the job in progress until user fix the configuration in the case of a build failed. After the fix starts a new build.
    So, to do this we need to be able to start a new build in the current multijob build.

@jenkinsadmin
Copy link
Member

Thank you for this pull request! Please check this document for how the Jenkins project handles pull requests.

@emoshaya
Copy link

This looks great, does this allow you to manually restart a child job after the multi job build has completed? Would it then update the results of the multi job build?

@sshelomentsev sshelomentsev changed the title Add listener to start and complete child jobs Add listener to handle starting and completing child jobs Feb 28, 2017
@sshelomentsev sshelomentsev changed the title Add listener to handle starting and completing child jobs Add a listener to handle starting and completing child jobs Feb 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants