The final line seems to explain the reason:
*svn: E170001: COPY of '/!svn/bc/199107/ParentPom': authorization failed:
Could not authenticate to server: rejected Digest challenge (
http://svnbridge.mycompany.com:8083)*

To confirm that it is not a Maven issue, you should try to re-execute the line behind [INFO] Executing: , but without the shell. I.e. : cd "/home/tomcat7/.jenkins/jobs/ParentPom
 (trunk)/workspace" && svn --username jvincent --password '*****'
 --no-auth-cache --non-interactive copy --file
 /tmp/maven-scm-320768443.commit --revision 199107
 http://svnbridge.mycompany.int:8083/ParentPom/
 http://svnbridge.mycompany.int:8083/Tags/ParentPom/ParentPom-1.29

If you're using credentials from the settings.xml, try to pass them as arguments. I've seen Jenkins having trouble with encrypted credentials and master/slave setups.

Robert


Op Thu, 10 Jan 2013 00:14:02 +0100 schreef Jeff <[email protected]>:

I don't know if this is related to maven or SVN so hopefully this is
relevant here.

We use TFS as the source control system with SVNBridge non-Microsoft access.

I had a stand-alone Jenkins CI server running on Windows that we had been
using but recently I setup Jenkins on Linux (Ubuntu 12.10) in a master + 4
slave configuration.

When I do a Maven Release from Jenkins on Windows, the process works
correctly. When releasing on Linux, I get an error during the tagging phase.

The odd thing is that it commits the modified POM with the release versions just fine. Here is the output from the release portion. Is there anything
I'm missing about why it won't work on Linux but does on Windows?

[INFO] Checking in modified POMs...
[INFO] Executing: /bin/sh -c cd "/home/tomcat7/.jenkins/jobs/ParentPOM
(trunk)/workspace" && svn --username jvincent --password '*****'
--no-auth-cache --non-interactive commit --file
/tmp/maven-scm-1181114510.commit --targets
/tmp/maven-scm-670605008954785933-targets
[INFO] Working directory: /home/tomcat7/.jenkins/jobs/ParentPom
(trunk)/workspace
[DEBUG] Sending        pom.xml
*[DEBUG] Transmitting file data .*
*[DEBUG] Committed revision 199107.*
[INFO] Tagging release with the label ParentPom-1.29...
[DEBUG] ScmTagPhase :: scmTagParameters remotingTag true
[DEBUG] ScmTagPhase :: scmTagParameters scmRevision 199107
[DEBUG] ScmTagPhase :: fileSet  basedir =
/home/tomcat7/.jenkins/jobs/ParentPom (trunk)/workspace; files = []
[DEBUG] SvnTagCommand :: scmTagParameters.remoteTagging : true
[INFO] Executing: /bin/sh -c cd "/home/tomcat7/.jenkins/jobs/ParentPom
(trunk)/workspace" && *svn --username jvincent --password '*****'
--no-auth-cache --non-interactive copy --file
/tmp/maven-scm-320768443.commit --revision 199107
http://svnbridge.mycompany.int:8083/ParentPom/
http://svnbridge.mycompany.int:8083/Tags/ParentPom/ParentPom-1.29*
[INFO] Working directory: /home/tomcat7/.jenkins/jobs/ParentPom
(trunk)/workspace
*mojoFailed org.apache.maven.plugins:maven-release-plugin:2.3.2(default-cli)
*
projectFailed com.mycompany:ParentPom:1.29-SNAPSHOT
sessionEnded
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2:15.172s
[INFO] Finished at: Wed Jan 09 15:56:48 MST 2013
[INFO] Final Memory: 8M/53M
[INFO]
------------------------------------------------------------------------
Projects to build: [MavenProject: com.mycompany:ParentPom:1.29-SNAPSHOT @
/home/tomcat7/.jenkins/jobs/ParentPom (trunk)/workspace/pom.xml]
[JENKINS] Archiving /home/tomcat7/.jenkins/jobs/ParentPom
(trunk)/workspace/pom.xml to /home/tomcat7/.jenkins/jobs/ParentPom
(trunk)/modules/com.mycompany$ParentPom/builds/2013-01-09_15-54-24/archive/com.mycompany/ParentPom/1.29-SNAPSHOT/ParentPom-1.29-SNAPSHOT.pom
Waiting for Jenkins to finish collecting data
mavenExecutionResult exceptions not empty
message : Failed to execute goal
org.apache.maven.plugins:maven-release-plugin:2.3.2:prepare (default-cli)
on project ParentPom: Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
*svn: E170001: COPY of '/!svn/bc/199107/ParentPom': authorization failed:
Could not authenticate to server: rejected Digest challenge (
http://svnbridge.mycompany.com:8083)*


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to