Jenkins SVN on slaves -


i have jenkins server configured use svn 1.7 (manage jenkins->configure system->subversion->1.7). have slave installed tortoisesvn on, , added path variable in slave machine. when run svn --version in slave see

 svn, version 1.7.18 (r1615261)    compiled aug  9 2014, 13:23:04  copyright (c) 2014 apache software foundation. software consists of contributions made many people; see notice file more information. subversion open source software, see http://subversion.apache.org/ 

but when run svn --version in jenkins job

  vn, version 1.6.12 (r955767)    compiled jun 21 2010, 16:00:59  copyright (c) 2000-2009 collabnet. 

the difference in versions causes error :

svn: path '.' appears part of subversion 1.7 or greater working copy.  please upgrade subversion client use working copy. 

how can configure jenkins use correct svn?

seems has 2 installations of svn. 1 1.7 , secodn - 1.6

execute in job echo %path% jenkins job see 1.6 version can installed. (or use svn, if use linux)

then can uninstall 1.6 or modify system path variable, svn 1.7 in paths first.

selection svn version in jenkins (manage jenkins->configure system->subversion) not affect 'command' build step. affect 'source code management', 'triggers'


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -