I’m trying to make a post-build commit in Jenkins CI when it’s succeeded.
Is there a way to make this?
My problem is that when i build it generates some dll’s in the workspace that i need to commit to the svn.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It depends on the build technology (e.g. Ant, Maven, MSBuild or FianlBuilder) you use for building your source code. To check-in your build results into your svn, you should add some new steps at the end of your build scripts. This step will simply add your build results to svn. For example your step may contain:
svn commit –file build-output.1 build-output.2
It should be noted that some build technologies are equipped with build-in tasks or actions for working with svn.