We have a single SVN repo broken up into sub projects, Proj1 must be built first, followed by Proj2. The problem is Proj1 takes a few hours so during which time someone could've checked something into Proj2, so I want to make sure Proj2 uses the revision used by Proj1. I've been thinking how to tackle this.
Option 1: give the build flow a REVISION parameter and pass that to all the jobs, but then you have to enter it each time (obviously I can't set it as HEAD since that is what I want to avoid). Proj1 needs to return the revision and Proj2 needs to read it Option 2: timestamp. Somehow the build flow get the timestamp and pass it to all the jobs. However I have to massage it into a format SVN can accept. Is it possible with the DSL? Option 3: Have an Init job before build flow, and let it figure out what the SVN revision is, then call build flow with that revision. Anyone done something similar? -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e7b52ca2-dc8a-4db3-99e9-05c6ef88b8a8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
