jenkinsci / jenkinsci/subversion-plugin

[JENKINS-20383] Jenkins user's HOME path remain at default after JENKIINS_HOME change in redhat box: svn credentials fail. $JENKINS_HOME/.subversion not created

Open
#1,078 1 comment 0 reactions 0 assignees View on GitHub
component:subversion-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
131
Forks
275
Avg merge
12h 4m
Merged PRs (30d)
6

Description

Subversion credentials fail upon svn calls to the svn repo server after successful authenticaion in project to the repository.

1) Changed JENKINS_HOME directory in /etc/sysconfig/jenkins from default of /var/lib/jenkins for all build and workspace work. HENCE $ITEM_ROOT has changed.

2) Entered userid/password in subversion authentication for project.

3) hudson.scm.SubversionSCM.xml has correct

4) subversion.credentials for project job has correct

5) $JENKINS_HOME/.subversion does not get created however which is part of the problem.

6) user jenkins still points to default HOME directory.

Note: svn checkout works in job and at command line

The svn command failed.

Command output:

svn: OPTIONS of 'http://devsvn.gspt.net/xxx/xxx/': authorization failed: Could not authenticate to server: rejected Basic challenge (http://devsvn.gspt.net)

---
Originally reported by cvecchione, imported from: Jenkins user's HOME path remain at default after JENKIINS_HOME change in redhat box: svn credentials fail. $JENKINS_HOME/.subversion not created


  • status: Open
  • priority: Major
  • component(s): subversion-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20251212-090250

Raw content of original issue

Subversion credentials fail upon svn calls to the svn repo server after successful authenticaion in project to the repository.
1) Changed JENKINS_HOME directory in /etc/sysconfig/jenkins from default of /var/lib/jenkins for all build and workspace work. HENCE $ITEM_ROOT has changed.
2) Entered userid/password in subversion authentication for project.
3) hudson.scm.SubversionSCM.xml has correct <entry>
4) subversion.credentials for project job has correct <entry>
5) $JENKINS_HOME/.subversion does not get created however which is part of the problem.
6) user jenkins still points to default HOME directory.
Note: svn checkout works in job and at command line
The svn command failed.
Command output:
svn: OPTIONS of 'http://devsvn.gspt.net/xxx/xxx/': authorization failed: Could not authenticate to server: rejected Basic challenge (http://devsvn.gspt.net)

  • environment: Redhat v5.x with SVN v1.6.x

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.