[JIRA] [p4] (JENKINS-25300) Several of my p4 projects do not list *any* changes between builds

2014-10-28 Thread pal...@perforce.com (JIRA)














































Paul Allen
 commented on  JENKINS-25300


Several of my p4 projects do not list *any* changes between builds















Sorry if I missed something, but from what I can see in the config files you are using the label/tag feature to create a label called 'basic_check', which gets updated on each build.  Then the other build is pinned to this label.  

I'll see if I can reproduce this.

I did notice that the config file references p4@1.0.13?  Are you running the latest build, as I have recently changed the way changes are calculated (1.0.16).



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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] [p4] (JENKINS-25300) Several of my p4 projects do not list *any* changes between builds

2014-10-28 Thread g...@barefootnetworks.com (JIRA)














































Glen Gibb
 commented on  JENKINS-25300


Several of my p4 projects do not list *any* changes between builds















Yup, I updated to the 1.0.16 p4 plugin last week before reporting the issue. 

The config.xml files report the old version as I did not make any config changes after the update.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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] [p4] (JENKINS-25300) Several of my p4 projects do not list *any* changes between builds

2014-10-28 Thread pal...@perforce.com (JIRA)














































Paul Allen
 commented on  JENKINS-25300


Several of my p4 projects do not list *any* changes between builds















Could you send me the last build.xml file from the job reporting no changes and the details of the label.

e.g. p4 label -o basic_check

Label:   basic_check
...
Revision:  @370

I want to see if the buildChange class="int" value is lower than the 'Revision' specified in the label.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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] [p4] (JENKINS-25300) Several of my p4 projects do not list *any* changes between builds

2014-10-28 Thread g...@barefootnetworks.com (JIRA)














































Glen Gibb
 updated  JENKINS-25300


Several of my p4 projects do not list *any* changes between builds
















build.xml file from the 2014-10-27_18-20-10 build





Change By:


Glen Gibb
(28/Oct/14 3:46 PM)




Attachment:


build.xml



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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] [p4] (JENKINS-25300) Several of my p4 projects do not list *any* changes between builds

2014-10-28 Thread g...@barefootnetworks.com (JIRA)














































Glen Gibb
 commented on  JENKINS-25300


Several of my p4 projects do not list *any* changes between builds















build.xml is attached. The basic label revision number is: @3937



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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] [p4] (JENKINS-25300) Several of my p4 projects do not list *any* changes between builds

2014-10-28 Thread pal...@perforce.com (JIRA)














































Paul Allen
 commented on  JENKINS-25300


Several of my p4 projects do not list *any* changes between builds















Yes I see the issue...

buildChange class="string"basic_check/buildChange

I store the label, not the change.  When I try to calculate the changes since the last build I access the label, but that has been updated.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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] [p4] (JENKINS-25300) Several of my p4 projects do not list *any* changes between builds

2014-10-28 Thread g...@barefootnetworks.com (JIRA)














































Glen Gibb
 commented on  JENKINS-25300


Several of my p4 projects do not list *any* changes between builds















I'm happy to test any fixes when you've had a chance to make them.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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] [p4] (JENKINS-25300) Several of my p4 projects do not list *any* changes between builds

2014-10-28 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-25300


Several of my p4 projects do not list *any* changes between builds















Code changed in jenkins
User: Paul Allen
Path:
 src/main/java/org/jenkinsci/plugins/p4/CheckoutTask.java
 src/test/java/org/jenkinsci/plugins/p4/client/ConnectionTest.java
http://jenkins-ci.org/commit/p4-plugin/be16da4210249bcaff54dc65faf7f5a431b54385
Log:
  Fix change detection when using a moving label

If a build was pinned or built from a label, the label name was
recorded buildChange.  If the label is updated between builds then
comparing against an earlier build will give you the wrong result.

This fix stores the automatic label ‘Revision’ field and stores this in
buildChange.

NOTE: you will need to run a manual build to flush the label, so that
the last build has a change number.

JENKINS-25300





























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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] [p4] (JENKINS-25300) Several of my p4 projects do not list *any* changes between builds

2014-10-28 Thread pal...@perforce.com (JIRA)














































Paul Allen
 commented on  JENKINS-25300


Several of my p4 projects do not list *any* changes between builds















I have submitted a fix.  As mentioned you will need to flush this through with a manual build, or wait for two polling events.  Please let me know if this fixes the issue  If all is good I'll try and release it at the end of the week.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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] [p4] (JENKINS-25300) Several of my p4 projects do not list *any* changes between builds

2014-10-28 Thread g...@barefootnetworks.com (JIRA)














































Glen Gibb
 commented on  JENKINS-25300


Several of my p4 projects do not list *any* changes between builds















Thanks Paul: I now see changes for this project.

One error was reported when the package tests ran which I'm ignoring for now:

=== Starting testFreeStyleProject_buildChange(org.jenkinsci.plugins.p4.client.ConnectionTest)
Oct 28, 2014 10:44:49 AM org.jenkinsci.plugins.p4.P4Server start
INFO: start signal sent...
Oct 28, 2014 10:44:50 AM org.jenkinsci.plugins.p4.client.ConnectionHelper connect
SEVERE: P4: Unable to connect: com.perforce.p4java.exception.ConnectionException: Unable to connect to Perforce server at localhost:1999
Oct 28, 2014 10:44:50 AM org.jenkinsci.plugins.p4.client.ClientHelper clientLogin
SEVERE: P4: Unable to use Workspace: java.lang.NullPointerException





























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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.