Hi,

I have a problem with jenkins plugin when perform artifactory release
staging.
I have a maven project and use svn as repository. 
Svn server requires both ssl client certificates and username/password.
Jenkins works fine and build project without problem.
When perform artifactory release the server return the following message:
...
[INFO] BUILD SUCCESSFUL
...
[RELEASE] Creating subversion tag: <svn_tag_url>
[RELEASE] [artifactory-release] Next development version
Failure in post build SCM action: svn: OPTIONS <svn_branch> failed
[RELEASE] Reverting working copy: <absolute_path_to_workspace>
[RELEASE] Reverting subversion tag: <svn_tag_url>
[RELEASE] Failed to revert <svn_tag_url>: svn: OPTIONS <svn_path> failed
Finished: FAILURE

Notice that the svn tag is created correctly.

After that if I start a new build, jenkins fail with the following error:
Updating <svn_url>
ERROR: Subversion update has been canceled
Build was aborted
Finished: ABORTED

The only fix I have found is to delete .subversion/auth and recreate it.

Inspecting .subversion/auth dir I noticed that the credential file before
release contains the following content:
K 8
passtype
V 6
simple
K 8
password
V 10
<password>
K 15
svn:realmstring
V 48
<url> Subversion Repositories
K 8
username
V 7
<username>
END

after the failed release:
K 15
svn:realmstring
V 48
<url> Subversion Repositories
K 8
username
V 7
<username>
END

Any ideas?

--
View this message in context: 
http://forums.jfrog.org/jenkins-plugin-fails-during-release-and-corrupt-svn-credential-tp7314636p7314636.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to