[JIRA] (JENKINS-17342) CVS Checkout does not respect Use Head If Not Found option

2013-03-25 Thread f...@br0tbox.de (JIRA)














































Timm H
 created  JENKINS-17342


CVS Checkout does not respect Use Head If Not Found option















Issue Type:


Bug



Affects Versions:


current



Assignee:


Unassigned


Components:


cvs



Created:


25/Mar/13 3:05 PM



Description:


I want to pass the branch of a project that uses cvs via environment var.
Under some circumstances i want it to check out the HEAD revision instead of the branch.
I entered $BRANCH as Branch and checked the option "Use Head If Not Found".

The job itself is started by another job, which passes the parameters to it.
The parameters are originally read from a file.
This is the output on one of our slaves:


cvs checkout -f -P -r b9990 -D 25 Mar 2013 15:51:00 +0100 -d project projectJob 
cvs [checkout aborted]: no such tag b9990
 
ERROR: Cvs task failed
Skipping sonar analysis due to bad build status FAILURE


It seems to work when enabling the "use update command" option:

cvs update -C -d -P -f -r b9990 -D 25 Mar 2013 15:26:19 +0100 project


Sadly, the update option itself seems to be broken and does not always update every file so this is not an option.




Environment:


Linux 2.6.32-279.1.1.el6.x86_64, Jenkins 1.501, Concurrent Versions System (CVS) 1.11.23 (client/server)




Project:


Jenkins



Priority:


Major



Reporter:


Timm H

























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/groups/opt_out.




[JIRA] (JENKINS-17342) CVS Checkout does not respect Use Head If Not Found option

2013-03-25 Thread f...@br0tbox.de (JIRA)














































Timm H
 updated  JENKINS-17342


CVS Checkout does not respect Use Head If Not Found option
















Change By:


Timm H
(25/Mar/13 3:26 PM)




Description:


Iwanttopassthebranchofaprojectthatusescvsviaenvironmentvar.UndersomecircumstancesiwantittocheckouttheHEADrevisioninsteadofthebranch.Ientered$BRANCHasBranchandcheckedtheoptionUseHeadIfNotFound.Thejobitselfisstartedbyanotherjob,whichpassestheparameterstoit.Theparametersareoriginallyreadfromafile.Thisistheoutputononeofourslaves:{code}cvscheckout-f-P-rb9990-D25Mar201315:51:00+0100-dprojectprojectJobcvs[checkoutaborted]:nosuchtagb9990ERROR:CvstaskfailedSkippingsonaranalysisduetobadbuildstatusFAILURE{code}Itseemstoworkwhenenablingtheuseupdatecommandoption:{code}cvsupdate-C-d-P-f-rb9990-D25Mar201315:26:19+0100project{code}Sadly,theupdateoptionitselfseemstobebrokenanddoesnotalwaysupdateeveryfilesothisisnotanoption.
Edit:Thebranchb9990doesnotexistintherepository,iusethisasaworkaroundsinceicantpassHEADasthebranchvarifiwanttocheckouttheHEAD.



























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/groups/opt_out.