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 failed
Skipping 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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to