[JIRA] (JENKINS-39222) AssemblyInfo is not updating

2016-10-27 Thread grigg...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ryan Griggs commented on  JENKINS-39222  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: AssemblyInfo is not updating   
 

  
 
 
 
 

 
 That solution worked for us, the versions are getting updated correctly now. Thanks for the help!  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-39222) AssemblyInfo is not updating

2016-10-26 Thread grigg...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ryan Griggs commented on  JENKINS-39222  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: AssemblyInfo is not updating   
 

  
 
 
 
 

 
 Sorry I've been out of the office a few days. I'll check your suggestion tomorrow morning!  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-39222) AssemblyInfo is not updating

2016-10-25 Thread raquel.moreno.carm...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rachel Moreno reopened an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39222  
 
 
  AssemblyInfo is not updating   
 

  
 
 
 
 

 
Change By: 
 Rachel Moreno  
 
 
Resolution: 
 Not A Defect  
 
 
Status: 
 Resolved Reopened  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-39222) AssemblyInfo is not updating

2016-10-25 Thread raquel.moreno.carm...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rachel Moreno resolved as Not A Defect  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39222  
 
 
  AssemblyInfo is not updating   
 

  
 
 
 
 

 
Change By: 
 Rachel Moreno  
 
 
Status: 
 Reopened Resolved  
 
 
Resolution: 
 Not A Defect  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-39222) AssemblyInfo is not updating

2016-10-25 Thread raquel.moreno.carm...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rachel Moreno reopened an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39222  
 
 
  AssemblyInfo is not updating   
 

  
 
 
 
 

 
Change By: 
 Rachel Moreno  
 
 
Resolution: 
 Fixed  
 
 
Status: 
 Resolved Reopened  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-39222) AssemblyInfo is not updating

2016-10-25 Thread raquel.moreno.carm...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rachel Moreno resolved as Fixed  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39222  
 
 
  AssemblyInfo is not updating   
 

  
 
 
 
 

 
Change By: 
 Rachel Moreno  
 
 
Status: 
 Reopened Resolved  
 
 
Resolution: 
 Fixed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-39222) AssemblyInfo is not updating

2016-10-25 Thread raquel.moreno.carm...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rachel Moreno commented on  JENKINS-39222  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: AssemblyInfo is not updating   
 

  
 
 
 
 

 
 Please, change RegexPattern by: 

 
Assembly(\w*)Version\("([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)"\)
 

 and change Filename by: 

 
FileName: MyProject/Properties/AssemblyInfo.cs
 

 without starting with  

 
./ 

  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-39222) AssemblyInfo is not updating

2016-10-25 Thread raquel.moreno.carm...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rachel Moreno commented on  JENKINS-39222  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: AssemblyInfo is not updating   
 

  
 
 
 
 

 
 Third test Job configuration step 

 
Assembly Version: ${BUILD_NUMBER}
FileName: ./AssemblyInfo.cs
RegexPattern: Assembly(\w*)Version\("([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)"\)
ReplacementPattern: Assembly$1Version("$2.$3.$4.%s")
 

 Console output: 
 
Changing the file(s) ./AssemblyInfo.cs to version : 2
 AssemblyInfo.cs (no changes)  

 

...
[assembly: AssemblyVersion("1.1.1205.1040")]
[assembly: AssemblyFileVersion("1.1.1205.1040")]
...
 

  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit 

[JIRA] (JENKINS-39222) AssemblyInfo is not updating

2016-10-25 Thread raquel.moreno.carm...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rachel Moreno commented on  JENKINS-39222  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: AssemblyInfo is not updating   
 

  
 
 
 
 

 
 Environment 
 
Jenkins: 2.25 
change-assembly-version-plugin version 1.5.1 
AssemblyInfo.cs 

 

...
[assembly: AssemblyVersion("1.1.1205.1040")]
[assembly: AssemblyFileVersion("1.1.1205.1040")]
...
 

 
 First test Job configuration step 

 
Assembly Version: ${BUILD_NUMBER}
FileName: AssemblyInfo.cs
RegexPattern: Assembly(\w*)Version\("([0-9]+)\.([0-9]+)\.([0-9])\.([0-9])"\)
ReplacementPattern: Assembly$1Version("$2.$3.$4.%s")
 

 Console output: 
 
Changing the file(s) AssemblyInfo.cs to version : 1 Updating file : /var/lib/jenkins/jobs/assembly-test-previous/workspace/AssemblyInfo.cs, Version : 1 Updating file : /var/lib/jenkins/jobs/assembly-test-previous/workspace/AssemblyInfo.cs
 AssemblyInfo.cs (no changes)  

 

...
[assembly: AssemblyVersion("1.1.1205.1040")]
[assembly: AssemblyFileVersion("1.1.1205.1040")]
...
 

 Second test Job configuration step 

 
Assembly Version: ${BUILD_NUMBER}
FileName: AssemblyInfo.cs
RegexPattern: Assembly(\w*)Version\("([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)"\)
ReplacementPattern: Assembly$1Version("$2.$3.$4.%s")
 

 Console output: 
 
Changing the file(s) AssemblyInfo.cs to version : 1 Updating file : /var/lib/jenkins/jobs/assembly-test-fixed/workspace/AssemblyInfo.cs, Version : 1 Updating file : /var/lib/jenkins/jobs/assembly-test-fixed/workspace/AssemblyInfo.cs
 AssemblyInfo.cs (changed)  

 

...
[assembly: AssemblyVersion("1.1.1205.1")]
[assembly: AssemblyFileVersion("1.1.1205.1")]
...
 


[JIRA] (JENKINS-39222) AssemblyInfo is not updating

2016-10-24 Thread grigg...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ryan Griggs commented on  JENKINS-39222  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: AssemblyInfo is not updating   
 

  
 
 
 
 

 
 Unfortunately that does not change the behavior. The result is the same with that regex also.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-39222) AssemblyInfo is not updating

2016-10-24 Thread raquel.moreno.carm...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rachel Moreno resolved as Not A Defect  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Please, change RegexPattern by: 

 

Assembly(\w*)Version\("([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)"\)
 

  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-39222  
 
 
  AssemblyInfo is not updating   
 

  
 
 
 
 

 
Change By: 
 Rachel Moreno  
 
 
Status: 
 Open Resolved  
 
 
Resolution: 
 Not A Defect  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 


[JIRA] (JENKINS-39222) AssemblyInfo is not updating

2016-10-24 Thread raquel.moreno.carm...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rachel Moreno assigned an issue to Rachel Moreno  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39222  
 
 
  AssemblyInfo is not updating   
 

  
 
 
 
 

 
Change By: 
 Rachel Moreno  
 
 
Assignee: 
 Sanketh PB Rachel Moreno  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-39222) AssemblyInfo is not updating

2016-10-24 Thread grigg...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ryan Griggs created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39222  
 
 
  AssemblyInfo is not updating   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Sanketh PB  
 
 
Components: 
 change-assembly-version-plugin  
 
 
Created: 
 2016/Oct/24 8:11 PM  
 
 
Environment: 
 Jenkins 2.26, change-assembly-version-plugin version 1.5.1  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Ryan Griggs  
 

  
 
 
 
 

 
 We're having an issue setting up auto-incrementing build version updates with our environment. According to the log file the plugin is doing two things incorrectly. The first issue is that the version is not getting put together correctly. Here are the settings we have specified: 

 

Assembly Version: ${BUILD_NUMBER}
FileName: ./MyProject/Properties/AssemblyInfo.cs
RegexPattern: Assembly(\w*)Version\("([0-9]+)\.([0-9]+)\.([0-9])\.([0-9])"\)
ReplacementPattern: Assembly$1Version("$2.$3.$4.%s")
 

 Based on that configuration we expected to see a version like "1.9.0.131" where 131 is the build number. However, the version is coming out as just "131". See the log message below for an example. This regex does test out with various tools as matching text such as [assembly: AssemblyVersion("1.9.0.1")] or [assembly: AssemblyFileVersion("1.9.0.1")]. The second issue is the AssemblyInfo file is never getting updated although the log says it has updated the file. We have about 8 projects updating but the behavior is the same so I've cut the messages down to one. Here's the message from the log file that shows up for all of the files: