Difference between revisions of "SVN"

From Lingoport Wiki
Jump to: navigation, search
(Created page with "== Install SVN on the Jenkins system == sudo yum install subversion svn --version == SVN for <code>jenkins</code> == The <code>jenkins</code> user will be executing the scrip...")
 
(Install SVN on the Jenkins system)
Line 1: Line 1:
 
== Install SVN on the Jenkins system ==
 
== Install SVN on the Jenkins system ==
sudo yum install subversion
+
<code>sudo yum install subversion
svn --version
+
svn --version</code>
   
 
== SVN for <code>jenkins</code> ==
 
== SVN for <code>jenkins</code> ==

Revision as of 15:56, 1 December 2016

Install SVN on the Jenkins system

sudo yum install subversion svn --version

SVN for jenkins

The jenkins user will be executing the script for LRM. Log in as jenkins. create a test directory, like mkdir ~jenkins/jobs/test cd to the test directory run an SVN checkout command for a repository to access. For example:

svn checkout https://svns.lingoport.net/lrm/client/

It will ask to persist the credentials: Choose permanent.

It will ask for the password for 'jenkins': Don't give any It will ask for a username: Give that username (then pwd) for that access.

SVN will checkout the project and then remember the credentials.