Can't execute commit to svn as root folder is forbidden -
i'm trying execute post build svn commit
command in jenkins.
i have access http://myrepo.com/myproject ...
haven't http://myrepo.com/
(the access forbidden). result, when commit i'm getting following error:
svn commit --message "build #xx" myfile --non-interactive svn: commit failed (details follow): svn: options of 'http://myrepo.com/myproject/myfile': authorization failed: not authenticate server: rejected basic challenge (http://myrepo.com)
when run svn command line, not have access credentials stored in jenkins.
the easiest way make svn work command line provide --username
, --password
parameters svn in build script.
you can run svn jenkins user , let store authentication in jenkins user's home directory. you'll have set authentication on each node need perform commits. , it's tedious maintain if ssl certificate or password changes periodically. keep usernames, passwords out of build scripts.
perhaps plugin svn publisher can you're trying accomplish.
Comments
Post a Comment