Making downstream jobs wait for upstream

285 views
Skip to first unread message

russ...@gmail.com

unread,
Mar 30, 2015, 12:06:12 PM3/30/15
to jenkins...@googlegroups.com
We have many interrelated jenkins jobs. When an upstream job builds, some downstream jobs build multiple times. We've looked into various plugins (Join, Promoted Builds, MultiJob, BuildFlow, workflow) none of these seem to fit our situation. It seems that the "Block build when upstream/downstream project is building" properties should do what we want. However, they don't seem to have the expected effect. 

We are currently using jenkins 1.596.2 with a handful of plugins:
  • Hudson Post build task
  • IRC Plugin
  • SSH Agent Plugin
  • OWASP Markup Formatter Plugin
  • jQuery UI plugin
  • Javadoc Plugin
  • Windows Slaves Plugin
  • xUnit plugin
  • CVS Plug-in
  • Credentials Plugin
  • Mailer Plugin
  • Token Macro Plugin
  • GIT client plugin
  • Matrix Project Plugin
  • Cppcheck Plug-in
  • Subversion Plug-in
  • Store Plugin
  • Throttle Concurrent Builds Plug-in
  • Matrix Authorization Strategy Plugin
  • Associated Files Plugin
  • Template Project plugin
  • Dependency Graph Viewer Plugin
  • PAM Authentication plugin
  • Next Build Number Plugin
  • URLTrigger Plug-in
  • GIT plugin
  • Multiple SCMs plugin
  • instant-messaging plugin
  • Maven Integration plugin
  • Visualworks Store Plugin
  • Ant Plugin
  • LDAP Plugin
  • build timeout plugin
  • Email Extension Plugin
  • SCM Sync Configuration Plugin
  • Timestamper
  • jQuery plugin
  • SCM API Plugin
  • SSH Credentials Plugin
  • External Monitor Job Type Plugin
  • Translation Assistance plugin
  • Rake plugin
  • Hudson Fitnesse plugin
  • SSH Slaves plugin
Any suggestions/help would be appreciated.

Russ Hill

Baptiste Mathus

unread,
Mar 31, 2015, 1:24:01 AM3/31/15
to jenkins...@googlegroups.com
That feature is to my knowledge only supposed to work (and works for us) at one level. If you have more than one, that might the issue.
In your case, you may be more interested in setting up some shared token to prevent those builds run simultaneously IIUC.
If so, then see the Throttle Concurrent Build Plugin.

Cheers

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b802e674-f41d-456c-883a-1bfc493eeca0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !
nbsp;!
Reply all
Reply to author
Forward
0 new messages