[JIRA] (JENKINS-17342) CVS Checkout does not respect "Use Head If Not Found" option
Michael Clarke closed JENKINS-17342 as Not A Defect CVS Checkout does not respect "Use Head If Not Found" option CVS's "Use Head If Not Found" feature does not work in this way. The Branch/Tag must exist - this option is purely referring to any files in the repository that are in head, but not on the tag/branch you've requested. Enabling this option on update works since CVS uses the existing control files to find the target location rather than using the over-ridden option. Change By: Michael Clarke (25/Mar/13 3:44 PM) Status: Open Closed Assignee: Michael Clarke Resolution: Not A Defect 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
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: 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:{code}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 failedSkipping sonar analysis due to bad build status FAILURE{code}It seems to work when enabling the "use update command" option:{code}cvs update -C -d -P -f -r b9990 -D 25 Mar 2013 15:26:19 +0100 project{code}Sadly, the update option itself seems to be broken and does not always update every file so this is not an option. Edit: The branch b9990 does not exist in the repository, i use this as a workaround since i can't pass "HEAD" as the branch var if i want to checkout the HEAD. 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
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.