Hi,

It could be done, but think about using  a better versioning scheme.  Using 
build numbers  from different jobs seems like a way to ask for trouble.

Take a look at:
  https://wiki.jenkins-ci.org/display/JENKINS/Version+Number+Plugin
  https://wiki.jenkins-ci.org/display/JENKINS/semantic-versioning-plugin
  https://wiki.jenkins-ci.org/display/JENKINS/Next+Build+Number+Plugin

Björn

Am Montag, 17. Oktober 2016 15:44:25 UTC+2 schrieb Guy Matz:
>
> Hello!  I need to be able to bump version numbers between two different 
> jobs, meaning that if job A runs, it should have a build number higher that 
> job B, and if job B runs, it should have a build # higher than job A . . . 
>  for example, job A may run 10 ten times and have a build number of 10.  
> Then job B will run and needs a build # of 11.  Job A wight run after than 
> and needs a build # of 12.
>
> Anyone know how to do this?  I *think* I need this because I am going to 
> have parallel tracks in my SDLC:  my usual develop -> master and a new 
> hotfix -> master SDLC being build by a separate job.  Do I need this?  Any 
> better ideas out there?  This seems like a common enough problem that it's 
> already been solved six ways to sunday . . .
>
> Thanks a lot,
> Guy
>

-- 
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/ff35676e-c537-493d-ab45-62a5ce42ca8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to