Multijob Plugin

Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID jenkins-multijob-plugin Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
Dependencies
1.13
Mar 01, 2014
1.480
envinject (version:1.83)
conditional-buildstep (version:1.3.1)
run-condition (version:0.10)
javadoc (version:1.0)
parameterized-trigger (version:2.21)
maven-plugin (version:1.480)
token-macro (version:1.5.1)
Source Code
Issue Tracking
Maintainer(s)
GitHub
Open Issues
Alex Nickolaevsky (id: alex-n)
Roni Licht (id: ronil)
Itai Or (id: itaior)
Usage Installations 2013-Apr 1329
2013-May 1456
2013-Jun 1678
2013-Jul 1868
2013-Aug 2062
2013-Sep 2273
2013-Oct 2551
2013-Nov 2766
2013-Dec 2878
2014-Jan 3176
2014-Feb 3398
2014-Mar 3626

This plugin, created by Tikal ALM team, gives the option to define complex and hierarchical jobs structure in Jenkins.

When to use it

  • If you'd like to stop the mess with downstream / upstream jobs chains definitions
  • When you want to add full hierarchy of Jenkins jobs that will be executed in sequence or in parallel
  • Add context to your buildflow implementing parameter inheritance from the MultiJob to all its Phases and Jobs, Phases are sequential whilst jobs inside each Phase are parallel

How to use it

After installing this plugin you will be able to do the following:

  •  When creating new Jenkins job you have an option to create MultiJob project.
  •  This job can define in the Build section phases that contains one job or more.
  •  All jobs belong to one phase will be executed in parallel (if there are enough executors on the node)
  •  All jobs in phase 2 will be executed only after jobs in phase 1 are completed etc.

Phases are used to execute many jobs in parallel whilst Phases are sequential.
For example you can have a common complement in phase 1, dependent components in phase 2, a deployment in phase 3 and so on and so forth.

Example plugin configuration

For example we create MultiJob project called jenkins-multijob-inherent that contains 3 multijob phases:

This job manages the building and deployment of the Tikal multijob plugin at phase 1.

Afterwards it downloads the snapshot version of jenkins and packs it again with Tikal multijob plugin that was created at phase 1.

Finally at phase 3 it deploys the jenkins with the multijob plugin to a deployment machine, and executes selenium tests to check the product and shutdown jenkins.

MultiJob Phases definition screenshot:

You can also see an hierarchical view of the multijob project:

Since version 1.11:

1. control build success criteria based on job status:

2. Disable a job within a phase - the use case is when you want to exclude a specific job from executing during a specific execution (well, if you wanted to remove completely -> you would just remove it...). 

Version History

1.13 (Mar 1, 2014)

  • Fix JENKINS-21649 & JENKINS-21798 - high CPU usage since 1.11 -> special thanks to Nicolas Morey-Chaisemartin
  • Add "Disable Project" button to MultiJob view

1.12 (Feb 9, 2014)

1.11 (Jan 26, 2014)

  • Support the ability to determine the Multijob state based on a failure of one of the jobs in that phase (see screenshot above)
  • Fixed JENKINS-21713 - "MultiJob Plugin does continue phase before current phase succeeded"MultiJob Plugin does continue phase before current phase succeeded
  • Support the ability to disable a certain job (useful when you want to disable a certain job just in a specific execution)
  • UI improvements in - fix MultiJob display during execution
  • Some internal / implementation improvementsSupport the ability to determine the Multijob state based on a failure of one of the jobs in that phase (see screenshot above)

1.10 (Oct 5, 2013)

  • Fixed JENKINS-17576 - Conditional buildstep unable to launch MultiJob :: thanks  imod[Dominik Bartholdi] community contributor
  • Fixed JENKINS-16870 - Jenkins cant display multijob view graphically if the multijob phase is wrapped in a conditional buildstep & again thanks  imod[Dominik Bartholdi] community contributer
  • Fixed JENKINS-19015 - Multijob plugin throws CancellationException
  • Fixed JENKINS-18611 - Sometimes multijob is set as succeeded without running any downstream jobs when running in parallel - added a warning in the log for parallel job execution [ in red ... ]
  • Fixed JENKINS-17810 - Multijob hierarchy is not shown when jobs inside of the phases are "Monitor an external job" - Fixed
  • Fixed JENKINS-18571 - clicking on build now button fires build twice for specific jobs - Fixed
  • Fixed JENKINS-18361 - Provide build report API support- Issue fixed by dkichler [Dave Kichler] community contributor
    We were holding back the 1.10 release for a new feature which although the long wait didn't make it into 1.10 we hope to release multi-scm support in the 1.11 release - sorry for the long delay on this, we learned it is a bigger effort than we anticipated ...

1.9 (Apr 11, 2013)

  • Fixed JENKINS-15648 - Multi Job plugins stops when sub job fails or aborted also when the "Mark phase as successful" is set as always continue 
  • Fixed JENKINS-17068 - Subprojects aren't stop when stopping multijob project
  • Fixed JENKINS-17070 - Missing times with multiconfiguration projects
  • Fixed JENKINS-17254 - Multijob view last succes / last failure columns shows status instead of #of days/hours since
  • Fixed JENKINS-17284 - Jenkins cant display multijob view graphically if a job in phase not exists 
  • Fixed JENKINS-17153 - Dependency on parameterized-trigger should not be optional?
  • Fixed JENKINS-16048 - MultiJob Detailed Table is missing when non valid MultiJob phase exits
  • Fixed JENKINS-14604 / JENKINS-13078 - Multijob Plugin looses a hierarchical view at the multijob project page when it has upstream project(s)
  • Fixed JENKINS-17535 - Provide env vars detailing triggered builds (thanks Kiall Mac Innes)

1.6 & 1.7 (Nov 9, 2012)

1.5 (Aug 4, 2012)

1.4

  • Untracked bug fixes
  • Fix for display in console and first fallback for job status [ thanks to: Andreas Kuhtz ]

1.2 & 1.3

  • Fixed location of balls [ thanks to: Andreas Kuhtz ] in MultiJob view
  • Fixed Delete/Rename of subjob

1.1

1.0

  • Initial release

Labels

Edit
plugin-misc plugin-misc Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Add Comment