Next Build Number

https://wiki.jenkins-ci.org/display/JENKINS/Next+Build+Number+Plugin
On Jun 26, 2013 1:06 PM, "djx339" <[email protected]> wrote:

> **
> can you tell me the plugin name? thanks
>
>
>  *From:* Benjamin Lau <[email protected]>
> *Date:* 2013-06-27 01:02
> *To:* jenkinsci-users <[email protected]>
> *Subject:* Re: How to use the same BUILD_NUM in two different jobs?
>
> You don't want to do this.  It's an extremely good practice to make sure
> that all build numbers are unique.
>
> But if you want to do this anyway... I think there's a plugin which let's
> you explicitly set the build number. I use it to jump the build number up
> when I make major backward incompatible changes to my build process.
>
> Ben
> On Jun 26, 2013 11:42 AM, <[email protected]> wrote:
>
>> 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]
>>> *To: *jenkins...@googlegroups.**com
>>> *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 jenkinsci-use...@**googlegroups.com.
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<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.
>>
>>
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-users/9VwoT8_5Moo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> 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.
>
>
>

-- 
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.


Reply via email to