Reputation: 1
I would like to check out tags from svn via Jenkins with bash command. But I get the error message svn command cannot be found, although I have written it clearly.
Here is what my line looks like:
svn checkout http://xxx-yyyyy.zzz.xx-www.com:8888/xxx/yyy/$QQQ_tag $DDD/aaa/ --username svc.xxxxx --password
Upvotes: 0
Views: 565
Reputation: 26
Install the subversion package and retry. On linux:
sudo apt-get install subversion
On mac with Homebrew:
brew install subversion
When you've installed it, if bash still cannot find it, check out that you have added the svn executable path to your PATH environment variable and reopen the terminal.
Check out this answer for more details on setting PATH for Jenkins Jenkins slave not able to find svn
Upvotes: 1