[Stat-scm-user] Found out how to run it under jenkins
Brought to you by:
benoitx,
dougculnane
From: Pablo <pa...@an...> - 2011-09-12 15:23:54
|
in scm add the svn user name to the svn url e.g. scm:svn:http://*username*@host.com/etc ssh login to the jenkis box and type: > sudo -H -u jenkins bash > cd/var/lib/jenkins/jobs/yourjob/workspace >/path/to/mvn site Then the shell will ask you or svn password for anahata and ask you wether to store the password in .subversion folder then reply 'yes' Next time the project gets run from jenkins svn will not prompt for credentials I think, ideally, the maven-scm-plugin should pick up the user name and password from maven-scm-plugin or at least from maven command line options -Dusername=xxx -Dpassword=zzz Maybe one of the plugin developers can shed some light onto this -- Pablo Rodriguez Pina Director Anahata Technologies PTY LTD Phone0410 915 078 E-mail pa...@an... <mailto:pa...@an...> Web anahata-it.com <http://www.anahata-it.com> |