Thanks for reply Ginga, we have two plugins in jenkins like version number plugin and release plugin can you tell me the difference and according my requirement which one i can use.
On Fri, Jan 23, 2015 at 8:00 PM, Ginga, Dick <[email protected]> wrote: > Use the $BUILD_NUMBER however you want to create a version string. We > use version strings of the form a.b.c.d. I pass in a parameter called > VERSION_BASE that is a.b.c. Then I name my artifacts with > $VERSION_BASE.$BUILD_NUMBER. > > > > Also look at the Version Number plugin > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *nagashree ck > *Sent:* Friday, January 23, 2015 5:02 AM > *To:* [email protected] > *Subject:* Re: add version number to each artifacts in jenkins > > > > Thanks rginga, i want version number like 1.0 if i make any changes in the > same version the version number should be 1.1 > > > > how i can provide by using $BUILD_NUMBER > > On Wednesday, January 21, 2015 at 6:35:24 PM UTC+5:30, rginga wrote: > > You will have to do that during the build by naming your artifacts when > they are created. Jenkins provides $BUILD_NUMBER as a token you can use. > > > > *From:* [email protected] [mailto:[email protected]] *On > Behalf Of *nagashree ck > *Sent:* Tuesday, January 20, 2015 11:54 PM > *To:* [email protected] > *Subject:* add version number to each artifacts in jenkins > > > > Hi Friends, > > > > How to add version number to each artifacts in jenkins > > > > > > Thanks > > > > -- > 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/1d7eadd6-60aa-4ca5-87dc-39a5a7641fc3%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/1d7eadd6-60aa-4ca5-87dc-39a5a7641fc3%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- > 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/a417de59-ca62-4a1d-95d8-269ae45ab668%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/a417de59-ca62-4a1d-95d8-269ae45ab668%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- > 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/B9x7DS_Pp04/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E26E4E9888%40AMERMBX02.PERKINELMER.NET > <https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E26E4E9888%40AMERMBX02.PERKINELMER.NET?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CAKO07korkHuwz7g%2BtZWOV0qUD-%3D4TF-L0r-8ytp%3DtOEShByo-w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
