Kayser
Kayser

Reputation: 6694

How can I checkin a file, generated by maven build, automatically in SVN?

I build my project in Jenkins and during the build process I generate some DB files.

They should be checked in SVN at the end.

How can I do that?

Upvotes: 0

Views: 99

Answers (2)

RP-
RP-

Reputation: 5837

If you are using ant there is <svn> task defined already you can use them

Quick finding http://imwill.com/svntask-examples-for-apache-ant/#.UFHKho3ibpo

Maven provides SCM plugin to work with several source version control systems. You can look into them once.

Upvotes: 0

asbachb
asbachb

Reputation: 573

You should check the maven-scm-plugin. Especially the goal checkin:

http://maven.apache.org/scm/maven-scm-plugin/checkin-mojo.html

Upvotes: 2

Related Questions