[ https://issues.jenkins-ci.org/browse/JENKINS-12599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158622#comment-158622 ]
Michael Clarke commented on JENKINS-12599: ------------------------------------------ We already use CVSRoot.parse which gives us a CVSRoot instance fine, but then we have to set the password in the CvsRoot which requires the work we do (see the comments in the getCvsClient(...)). Setting the port all the time as we currently do is incorrect, but the root cause is that the CVSClient library bundled as it is does not support ext connections (see ConnectionFactory.java - https://github.com/mc1arke/cvsclient/blob/master/src/main/java/org/netbeans/lib/cvsclient/connection/ConnectionFactory.java). I'll have to check what Netbeans does to create ext connections within it's application and see if it's possible to replicate. > IllegalArgumentException after Upgrade to 2.0 > --------------------------------------------- > > Key: JENKINS-12599 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12599 > Project: Jenkins > Issue Type: Bug > Components: cvs > Reporter: Ulli Hafner > Assignee: Michael Clarke > Priority: Blocker > > 12:00:14 Started by user hafner > 12:00:14 Building on master > 12:00:14 FATAL: Unrecognized CVS Root: > :ext:haf...@fipsfspm.faktorzehn.de:/projekte/cvs.com.f10.ips4fspm > 12:00:14 java.lang.IllegalArgumentException: Unrecognized CVS Root: > :ext:haf...@fipsfspm.faktorzehn.de:/projekte/cvs.com.f10.ips4fspm > 12:00:14 at > org.netbeans.lib.cvsclient.connection.ConnectionFactory.getConnection(ConnectionFactory.java:117) > 12:00:14 at hudson.scm.CVSSCM.getCvsClient(CVSSCM.java:570) > 12:00:14 at hudson.scm.CVSSCM.checkout(CVSSCM.java:702) > 12:00:14 at > hudson.model.AbstractProject.checkout(AbstractProject.java:1193) > 12:00:14 at > hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:555) > 12:00:14 at > hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:443) > 12:00:14 at hudson.model.Run.run(Run.java:1376) > 12:00:14 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > 12:00:14 at > hudson.model.ResourceController.execute(ResourceController.java:88) > 12:00:14 at hudson.model.Executor.run(Executor.java:175) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira