OK.
Set up in subversion: using some working copy, create a file, a new directory, and setup externals, then check in. Note that in the steps below, you must use the actual path to file foo in your repository. Here are the steps:
echo "foo" >foo svn add foo svn mkdir bar echo "^/path/to/foo foo" > externals svn propset -F externals svn:externals bar svn ci -m "Setting up file externals for Jenkins"
As a check, run
svn update bar
It should pull in file foo into directory bar.
When you have that, do the following in Jenkins:
1. create a new freestyle job. 2. set version control to check out directory "bar" 3. configure your svn credentials 4. Uncheck "ignore externals" 5. setup additional credentials (as mentioned in
JENKINS-21785
) for the same repository, using the same credentials. 6. save this configuration
Then "Build Now". This produces the error.
I tried this just now in a different repository, but on the same physical server. The Jenkins credentials (username, password) are the same in both repository, and were stored with Jenkins.
|