How can I automatically svn tag build output files with Jenkins?

Multi tool use
How can I automatically svn tag build output files with Jenkins?
I'm automating the following manual process with Jenkins:
Steps 1-3 are working, but I need some help with tagging in step 4. There are some possible solutions that I've excluded:
Tools seem to be available for Git. Is there another way to do it for svn that I haven't thought of?
1 Answer
1
What about svn commandline?
Your could try to create a tag using shell :
svn copy http://svn/mywebsite/trunk http://svn/mywebsite/tags/2.2.1 -m "Release 2.2.1 - added new feature"
Source:
http://svnbook.red-bean.com/en/1.6/svn.branchmerge.tags.html
If it works, your step 4 could be a build step called : Execute Shell :
Just put your shell script in the text-area called command. You could use variables for your url, tag number, etc
Finally, you could create a jenkins plugin called svn command line tool to make life easier. Is not complex as many believe.
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.