i have an branch in git repository to fix bug, and coding new features in master branch. my job1 is for branch build to verify bug. job2 is for master build. i should change the version in every job. and the version is job's BUILD_NUM. so i should use one BUILD_NUM between two jobs. hao can i do?
在 2013年6月26日星期三UTC+8下午11时19分24秒,KT写道: > > Your questions seems a bit confusing. Are you asking how you can make it > so that the jobs are the same build number? > > > > Or are you asking how you could make it so that job2 is always 1 build > number higher than job1? > > ------------------------------ > > *From: *[email protected] <javascript:> > *To: *[email protected] <javascript:> > *Sent: *Wednesday, June 26, 2013 10:10:36 AM > *Subject: *How to use the same BUILD_NUM in two different jobs? > > I have two jobs in my jenkins, I should use the same BUILD_NUM in two > different jobs. how can i do? > > eg: job1 BUILD_NUM is 5, when i build job2 the job2's build num should be > 6. > > Thanks everyone. > > -- > 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] <javascript:>. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
