Re: Version Number Plugin question

2021-03-25 Thread YAOWEN WU
Hi everyone,

I try to use a different date(the start of the project), but the 
BUILD_ALL_TIME is not reset. 

On Tuesday, 2 July 2013 at 17:55:22 UTC+1 DaveS wrote:

> I figured out how to reset the numbering, 'Number of builds since the 
> start of the project' 
>
> On Monday, July 1, 2013 3:04:00 PM UTC-5, DaveS 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/a8a6465d-93a7-4f13-8aee-96ff1864ea69n%40googlegroups.com.


Re: Version Number Plugin question

2013-07-02 Thread DaveS
How do you reset the Version Number in BUILD_ALL_TIME to start renumbering. 

On Monday, July 1, 2013 3:04:00 PM UTC-5, DaveS wrote:

 Jenkins ver. 1.509.1 http://jenkins-ci.org/
 Version Number 
 Plug-Inhttps://wiki.jenkins-ci.org/display/JENKINS/Version+Number+Plugin
 1.4.1https://jenkinswin1.preventice.com/pluginManager/plugin/versionnumber/thirdPartyLicenses

 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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Version Number Plugin question

2013-07-01 Thread Daniel Beck
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, }' works beautifully.

0001
0002
0003
etc.

On 01.07.2013, at 22:04, DaveS dstev...@preventice.com wrote:

 Jenkins ver. 1.509.1
 Version Number Plug-In1.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 jenkinsci-users+unsubscr...@googlegroups.com.
 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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.