Try clicking the question mark next to the 'Version Number Format String' text 
field, the behavior is well documented.

> The version number format string is used to generate the version number. It 
> will be passed through unaltered, except that any expression of the form 
> ${variable_name, argument} will be replaced according to the table below.


The format string '${BUILDS_ALL_TIME, XXXX}' works beautifully.

0001
0002
0003
etc.

On 01.07.2013, at 22:04, DaveS <[email protected]> wrote:

> Jenkins ver. 1.509.1
> Version Number Plug-In    1.4.1
> 
> I am sure that the answer to this is easy, but I just haven't got it figured 
> out.  I can't get the version number to increment.  I am trying to use the 
> number to create directories to store files from the different builds.
> 
> Environment Variable Name  =  TestVersion
> Version Number Format String  =  0001
> Don't increment failed builds.
> 
> mkdir -p C:/NewBuilds/${TestVersion}
> 
> 
> TestVersion is always 0001.  Tell me what I am setting incorrectly.  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].
> 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