On 08.06.2017 14:55, Derrik Ammons wrote:

> But, Jenkins thinks the build is located in the last incremented build
> directory. For example, if the previous build was 5.0.5 (24), and the
> source code has 5.1.0, the iOS app has 5.1.0.1 but it's the link to
> the build artifacts points to build 25 folder, not 1.

This is absolutely correct. As I wrote: Version Number plugin uses its
own, completely independent counter. Jenkins' counter can't be altered.
However, the plugin allows you to assign its value to an environment
variable which you can then use throughout your job. We also use this
for example together with the Description Setter plugin to display the
value of this variable in the build history on the (left side of the)
job page.

HTH...

    Dirk
-- 
*Dirk Heinrichs*
Senior Systems Engineer, Delivery Pipeline
OpenText^TM Discovery | Recommind
*Email*: dirk.heinri...@recommind.com <mailto:dirk.heinri...@recommind.com>
*Website*: www.recommind.de <http://www.recommind.de>

Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach

Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon
Davies, Roger Illing, Registergericht Amtsgericht Bonn, Registernummer
HRB 10646

This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie
die unbefugte Weitergabe dieser Mail sind nicht gestattet.

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/2ce4225c-dc25-236a-e3bd-9434c74ef7d1%40opentext.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to