|
This plugin adds the Subversion support (via SVNKit) to Jenkins.This plugin is bundled inside jenkins.war. Plugin Information
Basic UsageOnce this plugin is installed, you'll see Subversion as one of the options in the SCM. See inline help for more information about how to use it. Usage with Server CertificatesAn important note for those wanting to use client certificates to authenticate to your subversion server. Your PKCS12 cert file must not have a blank passphrase or a blank export password as it will cause authentication to fail. Refer to SVNKit:0000271 for more details. Advanced Features/ConfigurationsProxyYou can set the proxy in C:/Users/<user>/AppData/Roaming/Subversion/servers (Windows) or ~/.subversion/servers (Linux) (Jenkins as a service on Windows : C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\Subversion\servers)
Post-commit hookJenkins can poll Subversion repositories for changes, and while this is reasonably efficient, this can only happen up to every once a minute, so you may still have to wait a full minute before Jenkins detects a change. To reduce this delay, you can set up a post commit hook so the Subversion repository can notify Jenkins whenever a change is made to that repository. To do this, put the following script in your post-commit file (in the $REPOSITORY/hooks directory): REPOS="$1"
REV="$2"
UUID=`svnlook uuid $REPOS`
/usr/bin/wget \
--header "Content-Type:text/plain;charset=UTF-8" \
--post-data "`svnlook changed --revision $REV $REPOS`" \
--output-document "-" \
--timeout=2 \
http://server/subversion/${UUID}/notifyCommit?rev=$REV
ConsiderationsSince wget by default retries up to 20 times when not succeeding within the given timeout, --timeout=2 on a slow SVN server may cause Jenkins to scan the repository many more times than needed, further slowing down the SVN Server which after a while makes Jenkins unresponsive. Possible solutions to this problem are to increase the timeout, to add a lower maximum number of retries using the argument --retries=3 or to make the wget call asynchronous (and thus ignoring any communication errors) by adding 2>&1 & last on the wget call. Having the timeout too low can also cause your commits to hang and throw either 502 errors if you are behind a proxy, or post-commit errors if not. Increasing the timeout until you no longer see wget retrying should fix the issue. More robust *nix post-commit hook exampleThe basic script above is fine if your server does not do authentication or you have no problem providing anonymous read access to Jenkins (as well as anonymous read to all the individual jobs you want to trigger if you are using project-based matrix authorization). Here is a script that includes the more robust security concepts hinted at in the basic example. #!/bin/sh
REPOS="$1"
REV="$2"
# No environment is passed to svn hook scripts; set paths to external tools explicitly:
WGET=/usr/bin/wget
SVNLOOK=/usr/bin/svnlook
# If your server requires authentication, it is recommended that you set up a .netrc file to store your username and password
# Better yet, since Jenkins v. 1.426, use the generated API Token in place of the password
# See https://wiki.jenkins-ci.org/display/JENKINS/Authenticating+scripted+clients
# Since no environment is passed to hook scripts, you need to set $HOME (where your .netrc lives)
# By convention, this should be the home dir of whichever user is running the svn process (i.e. apache)
HOME=/var/www/
UUID=`$SVNLOOK uuid $REPOS`
NOTIFY_URL="subversion/${UUID}/notifyCommit?rev=${REV}"
CRUMB_ISSUER_URL='crumbIssuer/api/xml?xpath=concat(//crumbRequestField,":",//crumb)'
function notifyCI {
# URL to Hudson/Jenkins server application (with protocol, hostname, port and deployment descriptor if needed)
CISERVER=$1
# Check if "[X] Prevent Cross Site Request Forgery exploits" is activated
# so we can present a valid crumb or a proper header
HEADER="Content-Type:text/plain;charset=UTF-8"
CRUMB=`$WGET --auth-no-challenge --output-document - ${CISERVER}/${CRUMB_ISSUER_URL}`
if [ "$CRUMB" != "" ]; then HEADER=$CRUMB; fi
$WGET \
--auth-no-challenge \
--header $HEADER \
--post-data "`$SVNLOOK changed --revision $REV $REPOS`" \
--output-document "-"\
--timeout=2 \
${CISERVER}/${NOTIFY_URL}
}
# The code above was placed in a function so you can easily notify multiple Jenkins/Hudson servers:
notifyCI "http://myPC.company.local:8080"
notifyCI "http://jenkins.company.com:8080/jenkins"
The script above takes care of the Prevent Cross Site Request Forgery exploits option if you have it enabled on your server. If you do not have that option enabled, the extra wget call is harmless, but feel free to remove it if you do not need it. The script above also requires that you set up a .netrc file in the home directory of the user you are running subversion as (either the svnserve process or httpd). For more info on .netrc file syntax, look here. The script above makes it easy to notify multiple Jenkins servers of the same SVN commit. If you have a .netrc file, it keeps it easy even if they have different admin users set up. If you don't want to mess with a .netrc file, you could just hard-code the user and password (or API Token) info in the file and add --username=user and --password="pass" flags to the wget calls. Windows specific post-commit hookThe above script is difficult under the Windows command processor seeing as there is no support for backtick output extraction and there is no built in wget command. Instead the following contents can be added to post-commit.bat (in the $REPOSITORY/hooks directory): SET REPOS=%1 SET REV=%2 SET CSCRIPT=%windir%\system32\cscript.exe SET VBSCRIPT=C:\Repositories\post-commit-hook-jenkins.vbs SET SVNLOOK=C:\Subversion\svnlook.exe SET JENKINS=http://server/ "%CSCRIPT%" "%VBSCRIPT%" "%REPOS%" %2 "%SVNLOOK%" %JENKINS% The batch file relies on the following VBScript being available in the file designated by the VBSCRIPT variable above: repos = WScript.Arguments.Item(0)
rev = WScript.Arguments.Item(1)
svnlook = WScript.Arguments.Item(2)
jenkins = WScript.Arguments.Item(3)
Set shell = WScript.CreateObject("WScript.Shell")
Set uuidExec = shell.Exec(svnlook & " uuid " & repos)
Do Until uuidExec.StdOut.AtEndOfStream
uuid = uuidExec.StdOut.ReadLine()
Loop
Wscript.Echo "uuid=" & uuid
Set changedExec = shell.Exec(svnlook & " changed --revision " & rev & " " & repos)
Do Until changedExec.StdOut.AtEndOfStream
changed = changed + changedExec.StdOut.ReadLine() + Chr(10)
Loop
Wscript.Echo "changed=" & changed
url = jenkins + "crumbIssuer/api/xml?xpath=concat(//crumbRequestField,"":"",//crumb)"
Set http = CreateObject("Microsoft.XMLHTTP")
http.open "GET", url, False
http.setRequestHeader "Content-Type", "text/plain;charset=UTF-8"
http.send
crumb = null
if http.status = 200 then
crumb = split(http.responseText,":")
end if
url = jenkins + "subversion/" + uuid + "/notifyCommit?rev=" + rev
Wscript.Echo url
Set http = CreateObject("Microsoft.XMLHTTP")
http.open "POST", url, False
http.setRequestHeader "Content-Type", "text/plain;charset=UTF-8"
if not isnull(crumb) then
http.setRequestHeader crumb(0),crumb(1)
http.send changed
if http.status <> 200 then
Wscript.Echo "Error. HTTP Status: " & http.status & ". Body: " & http.responseText
end if
end if
Perform Polling from the MasterJIRA issue #5413 documents problems with running the SCM polling trigger on slaves. Version 1.21 of the Subversion plugin can perform the polling on the Jenkins master if the hudson.scm.SubversionSCM.pollFromMaster system property is set to true. Subversion Revision and URL information as Environment VariablesThe Subversion SCM plugin exports the svn revisions and URLs of the build's subversion modules as environment variables. These are $SVN_REVISION_n and $SVN_URL_n, where n is the 1-based index of the module in the configuration. For backwards compatibility if there's only a single module, its values are also exported as $SVN_REVISION and $SVN_URL. Note that the revision number exposed is the 'last-changed' revision number of the particular directory and not the current revision of the repository. (See What are these two revision numbers in svn info?) Kerberos authenticationTo connect to a Kerberos authenticated SVN repository see the Subversion Plugin HTTPS Kerberos authentication page. TroubleShootingSomeone suggested in the Jenkins IRC channel that if you are getting an error and a long svnkit stack trace that looks like: ERROR: svn: authentication cancelled org.tmatesoft.svn.core.SVNCancelException: svn: authentication cancelled Then,
Change LogVersion 2.5 (Jan 2, 2015)
Version 2.5-beta-4 (Oct 29, 2014)
Version 2.5-beta-3 (Oct 08, 2014)
Version 2.5-beta-2 (Jun 16, 2014)(2.5-beta-1 botched due to upload error)
Version 2.4.5 (Nov 10, 2014)
Version 2.4.4 (Oct 08, 2014)
Version 2.4.3 (Aug 20, 2014)
Version 2.4.2 (Aug 18, 2014)
Version 2.4.1 (Jul 16, 2014)
Version 2.4 (May 16, 2014)
Version 2.3 (May 1, 2014)Note: Version 2.0 contained a fix for issue #18574. However, the fix caused 2 regressions, so it was reverted in this version
Version 2.2 (Feb 18, 2014)
Version 2.1 (Feb 11, 2014)
Version 2.0 (Jan 31, 2014)
Version 1.54 (Nov 19, 2013)
Version 1.53 (Oct 15, 2013)
Version 1.52 (skipped)Version does not exist Version 1.51 (Sep 15, 2013)
Version 1.50 (Jun 02, 2013)
Version 1.48 (May 20, 2013)
Version 1.45 (Jan 22, 2013)
Version 1.44 (Dec 16, 2012)
Version 1.43 (Sept 24, 2012)
Version 1.42 (June 22, 2012)
Version 1.40 (May 11, 2012)
Version 1.39 (Feb 16, 2012)
Version 1.38 (Feb 14, 2012)
Version 1.37 (Dec 2, 2011)
Version 1.36 (NOT SAFE FOR USE)
Version 1.35 (Nov 19, 2011)
Version 1.34 (Oct 31, 2011)
Version 1.33 (Oct 11, 2011)
Version 1.32 (Sep 15, 2011)
Version 1.31 (Aug 19, 2011)
Version 1.31 (Aug 13, 2011)
Version 1.30 (Aug 12, 2011)
Version 1.29 (July 24, 2011)
Version 1.28 (June 15, 2011)
Version 1.27 (June 7, 2011)
Version 1.26 (May 10, 2011)
Version 1.25 (Apr 1, 2011)
Version 1.24 (Mar 22, 2011)
Version 1.23 (Jan 6, 2011)
Version 1.22 (Dec 10, 2010)
Version 1.21 (Nov 18, 2010)
Version 1.20 (Nov 1, 2010)
Version 1.19 (Oct 29, 2010)
Version 1.18 (Oct 27, 2010)
Version 1.17 (Apr 21, 2010)
Version 1.16 (Mar 23, 2010)
Version 1.15 (Mar 22, 2010)
Version 1.14 (Mar 17, 2010)
Version 1.13 (Mar 8, 2010)
Version 1.12 (Mar 3, 2010)
Version 1.11 (Feb 11, 2010)
Version 1.10 (Jan 27, 2010)
Version 1.9 (Jan 16, 2010)
Version 1.8 (Dec 23, 2009)
Version 1.7 (Sep 3, 2009)
Version 1.6 (Aug 28, 2009)
Version 1.5 (Aug 19, 2009)
Version 1.3 (July 8, 2009)
Version 1.2 (June 24, 2009)
Version 1.0 (June 15, 2009)
TrademarksApache, Apache Subversion and Subversion are trademarks of the Apache Software Foundation |
Subversion Plugin
Skip to end of metadata
Go to start of metadata
Comments (104)
Dec 30, 2009
Dan Morrow says:
I'm trying to build a specific revision. The help says: You can also add "@NNN"...I'm trying to build a specific revision. The help says:
You can also add "@NNN" at the end of the URL to check out a specific revision number, if that's desirable
So, I set the URL to be: "https://mycompany.com/svn/SpecialProject/trunk@12345" to indicate revision 12345. Well, I'm doing that, and Hudson says: '/SpecialProject/trunk@12345' doesn't exist in the repository. Maybe you meant '/SpecialProject/trunk'?
Is there a better way to specify a revision when doing an update from Subversion, or is this bug?
Jan 06, 2010
yzach - says:
AFAIK, it is a bug. You should just ignore the message. After saving the settin...AFAIK, it is a bug. You should just ignore the message.
After saving the settings Hudson will checkout the requested revision all the same.
Feb 15, 2010
Herve Quiroz says:
Just some extra information for those using LDAP authentication. I had some trou...Just some extra information for those using LDAP authentication. I had some trouble configuring the post-commit hook (403 error: authentication failure with wget). I found out the following solution:
1. retrieve a persistent authentication cookie:
(with <username> and <password> related to an existing and valid account in your LDAP server)
2. add the following as the post-commit hook:
REPOS="$1" REV="$2" UUID=`svnlook uuid $REPOS` /usr/bin/wget \ --header "Content-Type:text/plain;charset=UTF-8" \ --post-data "`svnlook changed --revision $REV $REPOS`" \ --output-document "-" \ --load-cookies /path/to/hudson-authentication-cookie \ http://server/hudson/subversion/${UUID}/notifyCommit?rev=$REVMar 11, 2010
malfunction84 - says:
For those using Windows, the same thing can be accomplished by adding an Authori...For those using Windows, the same thing can be accomplished by adding an Authorization request header to the last part of the VBScript. Just encode "<username>:<password>" in base64 for the value.
Set http = CreateObject("Microsoft.XMLHTTP") http.open "POST", url, False http.setRequestHeader "Content-Type", "text/plain;charset=UTF-8" http.setRequestHeader "Authorization", "Basic dXNlcm5hbWU6cGFzc3dvcmQ=" http.send changedMar 19, 2010
fpbremen - says:
According to my experience with version 1.351 the URL in the shell script must b...According to my experience with version 1.351 the URL in the shell script must be a little bit different:
http://server/subversion/${UUID}/notifyCommit?rev=$REVso without the "hudson/" part in the path.
Mar 20, 2010
yzach - says:
It depends on the Hudson installation. When Hudson running in it's default conta...It depends on the Hudson installation. When Hudson running in it's default container it is running on the domain root and it does not requires the hudson/ prefix.
In more general case when Hudson is running within another container you will need the stated prefix.
Apr 26, 2010
David Aldrich says:
Version 1.17 is not appearing in Hudson's Plugin manager's 'Updates' tab as of 2...Version 1.17 is not appearing in Hudson's Plugin manager's 'Updates' tab as of 26 April 2010.
Apr 27, 2010
Jaakko Aro says:
Would it be possible to have an option that this plugin does not store auth cach...Would it be possible to have an option that this plugin does not store auth cache to .subversion/auth/svn.simple ?
I'm thinking a way that on could configure the plugin to all project that it always runs like (for example) svn co https://here.is.url.to.svn/trunk --no-auth-cache --username foo --password bar
So all authentication data would be stored in some hudson / plugin configuration file and there would be no need to access the home -folder.
This feature would really help us since we have almost 1000 builds using svn and the home -folder is mounted trough NFS. Sometimes the NFS doesn't reply fast enough so the plugin can't read the data from ~/.subversion/auth/svn.simple and the build fails for no reason..
May 05, 2010
Axel Heider says:
In a DOS batch, you can do this to get command output in a variable without usin...In a DOS batch, you can do this to get command output in a variable without using a tmp file:
However, the whole POST request could get too big ich many files have changes. Thus I wonder, why a simple GET-request with
http://server/hudson/subversion/${UUID}/notifyCommit?rev=${REV}would be enough. Hudson get the file list internally as well, as it gets the new revision number anyway.
What does Hudson do when I send one POST request per changed file in the post-commit hook?
would be the side-
Aug 27, 2010
Peter Schuetze says:
Is there any intend to release a version 1.18? I am waiting for the bugfix for J...Is there any intend to release a version 1.18? I am waiting for the bugfix for JENKINS-1379.
Sep 14, 2010
Stephan Uhle says:
There are a few JIRA-issues about the SVN_REVISION variable not being set, when ...There are a few JIRA-issues about the SVN_REVISION variable not being set, when using multiple modules.
I just stumbled across this one (in a single module project):
Double slashs contained in a project's subversion repository URL result in a fresh checkout, every time a build is triggered.
Additionaly, the SVN_REVISION variable is not set.
After removing the superfluous slash, it worked as expected.
Is this a bug?
Stephan
(using Hudson 1.376 and Hudson Subversion Plug-in 1.17)
Sep 28, 2010
John Bito says:
There is potential for a conflict with the way the svn command sets up the ~/.su...There is potential for a conflict with the way the svn command sets up the ~/.subversion folder. If the hudson project is unable to checkout from the subversion repository, it might be fixed by removing the ~hudson/.subversion folder. The error I got was: ERROR: Failed to check repository revision for repo org.tmatesoft.svn.core.SVNCancelException: svn: authentication cancelled.
The problem and solution are on http://blog.vinodsingh.com/2009/08/hudson-svn-authentication-cancelled.html
Sep 30, 2010
Noah Sussman says:
Can the SVN plugin be configured/hacked such that it does not do a local checkou...Can the SVN plugin be configured/hacked such that it does not do a local checkout?
I need to watch an svn path, and run a shell script when my repo is updated. But the shell script does not actually need any of the assets from my repo.
If I could avoid the svn checkout, it'd save me time and disk space (my repo is large).
Oct 10, 2010
Peter Schuetze says:
Easiest way to implement this is a post commit hook in subversion. In this case ...Easiest way to implement this is a post commit hook in subversion. In this case you transfer the responsibility for triggering a build from Hudson to your subversion server. actually in this case you can trigger the script right from the post commit hook.
Or you 'hack' the plugin and implement this feature. BTW, you are not the first one asking for this feature, but it is actually not needed very often.
Oct 07, 2010
Pablo Szittyay says:
It would be great to pass the repourl as a paramter, before triggering the build...It would be great to pass the repourl as a paramter, before triggering the build (it would be even greater to set adefault value)!!
Oct 28, 2010
Peter Schuetze says:
Haven't tried that with the whole URL, but it works with the revision or part of...Haven't tried that with the whole URL, but it works with the revision or part of the URL. I implemented both.
You need a parameter (e.g. String parameter or a choice parameter). You can give the parameter a default value. In the SVN url you can add the parameter with ${PARAMETER_NAME}. I don't see a reason, why this shouldn't work with the whole URL.
Jan 21, 2011
Jean-Luc Pinardon says:
I would like to enforce this requirement, because I have made some uncessfull tr...I would like to enforce this requirement, because I have made some uncessfull trials.
I wanted to use a global parameter to define the SVN URL in the Source Code Management section.
I made 2 tests :
1. with var defined as Global Props in the server config
2. with var defined as properties within a file passed to the job thanks to the setenv file plugin (Set environment variables through a file)
Surprisingly, none of both methods works.
It appears that Global Props are not taken into account (no idea why) and properties are read after files are checked out from the repository, which seems to me not really consistent with the idea of setting environment. AMHA, to set the job environment should (or could ... optionnaly) be the first thing to do.
So, it appears that the only way to parameterized the SVN URL is either
1. to trigger the job from a preeceding one only in charge of setting up the environment,
2. or to parameterized the build.
Am I wrong or is it the "normal" behaviour ?
Best Regards
Dec 06, 2010
Nicolás Caorsi says:
I've Hudson running in a windows environment, but Hudson didn't detect any chang...I've Hudson running in a windows environment, but Hudson didn't detect any changes in my repository. My repository have special chars. It support special characters?
Thanks
Dec 13, 2010
mark1900 - says:
I cannot use a newer release of the Subversion plugin version 1.17 because of th...I cannot use a newer release of the Subversion plugin version 1.17 because of the following bug descriptions.
http://issues.jenkins-ci.org/browse/JENKINS-8059 Created: 10/Nov/10 02:33 AM
http://issues.jenkins-ci.org/browse/JENKINS-8162 Created: 23/Nov/10 05:53 PM
Is there any ETA on these fixes?
Jan 04, 2011
Yuri Schimke says:
From JENKINS-8059 Atlassian seemed to hit the same problem in Bamboo http://ji...From JENKINS-8059
Atlassian seemed to hit the same problem in Bamboo
http://jira.atlassian.com/browse/BAM-4517
The fix appears to be to take control of authentication in the App instead of via subversion authentication directory
http://jira.atlassian.com/browse/BAM-4526
"Last, but not least, is the fact that Bamboo uses
DefaultSVNAuthenticationManager. Personally, I think that it would be
not only safer, but also more "correct" to use custom implementation of
ISVNAuthenticationManager - this will allow to store all credentials
within Bamboo application, not as something belonging to the user. It
would be also much easier to configure repository access credentials
from Bamboo user interface and there will be no problems like [one we're
discussing currently|http://jira.atlassian.com/browse/BAM-4517] (though of course it should be fixed!)."
May 02, 2011
chaitanya jandhyala says:
Version 1.24 (Mar 22, 2011) * Added a new job parameter allo...Version 1.24 (Mar 22, 2011)
* Added a new job parameter allowing to dynamically list svn tags.
How do I use the above mentioned feature. I have 1.25, but don't see any 'tag' parameter while running a job or in the job configuration page.
May 02, 2011
Peter Schuetze says:
Add a parameter to your job, one of the parameter types is the svn tag parameter...Add a parameter to your job, one of the parameter types is the svn tag parameter.
May 02, 2011
chaitanya jandhyala says:
Thanks peter. I just figured I have only 1.20 of the plugin. Let me upgrade and ...Thanks peter. I just figured I have only 1.20 of the plugin. Let me upgrade and check.
May 31, 2011
ruberti says:
The SVN authorization does not work when I call a svn command for a batch-file ...The SVN authorization does not work when I call a svn command for a batch-file in the build process. The project update while build is triggered does work correctly including Subversion Authentication. The batch-file works correctly too when is called from cmd.
My SVN repo can be accessed: http://my-server/svn/pjt1/trunk
Is it possible that the plug-in for the SVN tries to verify the login/password using http://my-servername:80
I try to change it in hudson.scm.SubversionSCM.xml unsuccessfully
<?xml version='1.0' encoding='UTF-8'?>
<hudson.scm.SubversionSCM_-DescriptorImpl>
<generation>5</generation>
<credentials>
<entry>
<string>&
lt;http://my-server:80http://my-server/svn> Subversion Authentication</string><hudson.scm.SubversionSCM_-DescriptorImpl_-PasswordCredential>
<userName>user1</userName>
<password>12345</password>
</hudson.scm.SubversionSCM_-DescriptorImpl_-PasswordCredential>
</entry>
</credentials>
<workspaceFormat>10</workspaceFormat>
<validateRemoteUpToVar>false</validateRemoteUpToVar>
</hudson.scm.SubversionSCM_-DescriptorImpl>
any idea?
TIA
Adam
(using Jenkins 1.413 and Jenkins Subversion Plug-in 1.25)
Jun 15, 2011
Freimut Hennies says:
It would be great if the plugin would do the checks for changes in svn in the sa...It would be great if the plugin would do the checks for changes in svn in the same sequence as it is given by the depencies of the modules.
Reason: we seperated our software into three modules: Common (the interface), server (the service and data access layer) and client (the client code) Oft a checkin contains files from all modules. When jenkins polls the svn, it is unpredictable which module will be the first resulting in a lot build errors.
Any idea how to solve this issue?
Jun 15, 2011
Peter Schuetze says:
set the quite period (under advanced project options) for your 3 build jobs. Thi...set the quite period (under advanced project options) for your 3 build jobs. This will make sure that all are triggered. In addition check "Block build when upstream project is building". This should work. I never tested it. I just expect a build marked as building when it is in the build queue and that the block build check will be done at the time, the job leaves the build queue and actually starts building the job.
Jun 23, 2011
Freimut Hennies says:
I tried your idea for some days now - setting the waiting period on 120 sec. It ...I tried your idea for some days now - setting the waiting period on 120 sec. It did not work as it should.If a job is started by another job the waiting period is used. But if a job is startet by finding changes in the svn repository it makes no difference whether the waiting period is 10 or 120 seconds.
It seems to be a structural problem.
Jun 16, 2011
j e says:
I'm on Jenkins 1.415, with svn plugin 1.26 I really need Repository URL ex...I'm on Jenkins 1.415, with svn plugin 1.26
I really need Repository URL expansion implemented in 1.28 (to use with a matrix build where an axis values must be used in repository URL), but i can't manage jenkins to see the update.
is there a way to do it "by hand"? downloading some files somewhere?
EDIT: i found http://updates.jenkins-ci.org/download/plugins/subversion/1.28/subversion.hpi
i will try to replace the file then restart jenkins
Jun 16, 2011
j e says:
so now i'm on 1.28 but i couldn't make repository url expansion works with matri...so now i'm on 1.28 but i couldn't make repository url expansion works with matrix axis
i have an axis called PROJECT in which i have several values.
i wanted to compose the url with this axis, something like that
svn://mysvn/${PROJECT}
but it does not work: it's not expanded. i tried with all the ways i know:
${PROJECT}
${env.PROJECT}
$PROJECT
%PROJECT
%PROJECT%
none of them is expanded
maybe I miss something?
Jun 16, 2011
j e says:
expansion does not seem to work with setenv plugin neitherexpansion does not seem to work with setenv plugin neither
Aug 09, 2011
Christian Soltenborn says:
I'd like to use "emulate clean checkout" option of the plugin. However, during m...I'd like to use "emulate clean checkout" option of the plugin. However, during my build I'm generating a couple of artifacts which are not going to live in one of the directories being under version control. As a result, these artifacts are not removed when the workspace is "reverted", causing my build to fail.
Any chance to get that behavior? Have I missed something, or is this even a bug? :)
Thanks,
Christian
Aug 10, 2011
Peter Schuetze says:
All my projects have a clean phase/target/goal. This target would delete all bui...All my projects have a clean phase/target/goal. This target would delete all build artifacts. After executing this phase/target/goal the project should look like it was just checked out. Of course your source code changes are still there.
How do you do that when you build locally? Do you always delete the build artifacts manually before building your project? If yes, than it is time to implement the clean phase/target/goal.
Aug 24, 2011
Christian Soltenborn says:
Well, I might have misunderstood the idea of the "emulate clean checkout" option...Well, I might have misunderstood the idea of the "emulate clean checkout" option - I thought it was exactly supposed to remove the need for such a clean phase by bringing the workspace into the "post clean checkout" state without the need of performing a complete checkout. And that, imho, would include deleting all build artifacts, be they in one of the checked out folders or in one of the generated folders.
To answer your question: Yes, I do that manually. I use the Eclipse Modeling Framework to generate some .edit and .editor plug-ins, and I only need to regenerate them when I have changed the according generator model, and I do that manually in that case. To even be more specific: I'm a researcher, and I just set up my very first build since I'm starting to have a few users from our working group. So far, it sufficed to just start an Eclipse Runtime workbench - no need for an automated build :-)
As a side note: I have written a (very simple) Java class which will delete all unversioned files and folders from the folder passed as argument. If this is useful for anybody, let me know.
Aug 30, 2011
Christian Soltenborn says:
I don't want to be dogmatic, but here's another suggestion: Change the name of t...I don't want to be dogmatic, but here's another suggestion: Change the name of the "Emulate clean checkout" option since it does not mimic the behavior of the "Always checkout a clean copy" option (because the latter cleans the complete workspace (not only the checked out directories) before checking out). At least I find that confusing...
Aug 17, 2011
David I says:
I downloaded the latest version 1.31 of this plugin and installed it in Jenkins....I downloaded the latest version 1.31 of this plugin and installed it in Jenkins. It still appears in the plugin manager saying that it is version 1.28 and therefore wishes to upgrade to 1.31. I checked in the hpi file and the subversion\META-INF\maven\org.jenkins-ci.plugins\subversion\POM.properties file says that it is version 1.28.
Oct 05, 2011
Tom Moore says:
Running latest version. We use variables passed into jobs to pull a specif...Running latest version. We use variables passed into jobs to pull a specific project at a specific revision in the Repository URL line for the job. Similar to the following:
svn://svnserver/svn/${PROJECT}@{SVN_Rev}
That causes the plugin to default to checking out the files to a subdirectory under the workspace called ${PROJECT}@{SVN_Rev}. So the solution we have to use is to put a directory name in the Local module directory field. However we want this directory to be the project name that we passed in as ${PROJECT}. If we put the ${PROJECT} variable in the Local module directory field, it doesn't get expanded and we get a subdirectory under the workspace called ${PROJECT}.
At present we are having to copy the job and hard code in the project. It would be nice if the variable expansion would work for the output directory.
Oct 12, 2011
Jonathan Graham says:
Hi guys I have our SVN server authticating against multiple domains and the use...Hi guys
I have our SVN server authticating against multiple domains and the users log into SVN with a username@domain format.
The LDAP authentication in Jenkins uses the username format.
Jenkins creates users from SVN commits as username@domain since that is the format of the SVN user account. The problem is that there is no way to tie these into the username formatted accounts created by Jenkins when a user logs into Jenkins via LDAP authentication .
Since the SVN hook does not pass the username to Jenkins, I cannot strip the domain on the fly.
Does anybody have any ideas as to a potential solution? I can see two open cases on Jenkins (5773 and 8287) but neither have any updated.
Thanks
Jonny
Oct 12, 2011
Tom Moore says:
If the user's email address is also username@domain, then how about configuring ...If the user's email address is also username@domain, then how about configuring jenkins to allow email addresses for login by setting mail={0}
in the LDAP search filter field of the config? Then your users should not only match but you'll have a common login standard.
Oct 17, 2011
Mark Schultz says:
The first build step in my project is to run a command and then commit the resul...The first build step in my project is to run a command and then commit the results to the SVN repo. The build is triggered by an SVN commit. I have jenkins polling the repository every 3 hours. What I'm finding is that jenkins views my commits as a trigger to build. So the project is building every 3 hours, even if the only change is my change. This doesn't make sense to me, since jenkins has the current revision. How do I fix this? I can't have the repo ignore the files that are being changed, as I'm bumping the build number in an xcode repo. Why does the SVN plugin think that jenkins doesn't really have the latest revision? Does it store the revision number immediately after it does the svn update and check the HEAD against that? Please help.
Oct 17, 2011
Peter Schuetze says:
use the advance button of the SVN section. You will get several exclude options....use the advance button of the SVN section. You will get several exclude options. The most suitable for you will be Excluded Users and Excluded Commit Message. The configured values will be ignored and don't trigger a build. You could also go with 'Exclusion revprop name', but the first two ones worked fine for me.
Oct 17, 2011
Tom Moore says:
also, yes the revision is set at the beginning of the job with the SVN update an...also, yes the revision is set at the beginning of the job with the SVN update and does not automatically adjust for checkins during the build run. If this is important, then you either need to set if up as a 2 stage job where the first job updates the build number and the second job does the actual build, or you will need to modify how the svn revision is saved. We run as a 2 stage where we update the build data and then pass the revision # of the checkin to child jobs for the actual compile.
Oct 17, 2011
Mark Schultz says:
Thanks for the speedy response guys. Using Excluded Users and Excluded Com...Thanks for the speedy response guys. Using Excluded Users and Excluded Commit Message, will a commit be ignored if it is by the specified user AND the commit message matches, or is it specified user OR matching commit message?
Oct 17, 2011
Peter Schuetze says:
sorry, I have no info about the and/or issue. Best thing would be to test it. cr...sorry, I have no info about the and/or issue. Best thing would be to test it. create a second job that runs on both conditions and refine your approach. Worst case scenario, you need to work with revprop's.
Aug 15, 2012
Martin Jost says:
Hello, RTFS (SubversionSCM.java::checkLogEntry()) reveals, that the exclusions ...Hello,
RTFS (SubversionSCM.java::checkLogEntry()) reveals, that the exclusions are cummulative. The entry is excluded, if the path is excluded OR the user is exclude OR the log message is excluded.
It is even excluded if the explicitly included path is excluded.
(At least this is my understanding after reading the source)
HTH
Martin
Oct 25, 2011
John Norris says:
I would like to do a sparse checkout from subversion. I can add the URL to check...I would like to do a sparse checkout from subversion. I can add the URL to checkout from but really need to a --depth files for checkout.
Is there a way of doing this in the plugin?
Nov 30, 2011
Mike Kender says:
We are getting this error now when trying to use the SVN plugin with Jenkins 1.4...We are getting this error now when trying to use the SVN plugin with Jenkins 1.441:
java.lang.NoClassDefFoundError: de.regnis.q.sequence.line.QSequenceLineRAData
We are using SVN 1.7 server. Is there a new Jenkins war that has the jar that has this class in it?
Dec 01, 2011
Milutin Jovanovic says:
I am getting the same error. However I am running svnserve 1.6. This was introdu...I am getting the same error. However I am running svnserve 1.6. This was introduced by the 1.36. I downgraded to 1.34 and all is well again. The more complete log:
Jan 03, 2012
Maxim Kopeyka says:
I have error with v.1.37 org.tmatesoft.svn.core.SVNException: svn: OPTIONS /svn...I have error with v.1.37
org.tmatesoft.svn.core.SVNException: svn: OPTIONS /svn/repos/myRepo failed
however v.1.34 works fine with the same repo.
Jan 04, 2012
cheap clothes says:
Hi, the article is so wonderful, I am in...Hi, the article is so wonderful, I am interested in it. I will pay attention to your articles. And I like cheap clothes very much, and I have found a wholesale in china online, there are cheap shoes on their website.
Especially the cheap clothing and cheap bags, the wholesale shoes and wholesale jewelry are also very nice, they are my favorite!
Jan 04, 2012
cheap clothes says:
Do you like motorcycling and have your own&nb...Do you like motorcycling and have your own motor equiments?You can come here Belstaff Outlet to find your Belstaff Jacket.Belstaff Coat can not little.If your foot is cold,Belstaff Boots is not bad.
You can buy a Belstaff Bag to hold those equipments.
Jan 18, 2012
Robert Kangas says:
Hi, I just installed Jenkins on a new windows box. I'm having issues getti...Hi, I just installed Jenkins on a new windows box. I'm having issues getting the subversion plugin to load. I'm trying to use 1.34 (tried updating to 1.37 and it didn't take). Any thoughts?
The log is below... my system properties are below that:Jan 17, 2012 4:50:59 PM hudson.WebAppMain$2 run
INFO: Jenkins is fully up and running
Jan 17, 2012 4:50:48 PM hudson.TcpSlaveAgentListener <init>
INFO: JNLP slave agent listener started on TCP port 54561
Jan 17, 2012 4:50:48 PM jenkins.InitReactorRunner$1 onAttained
INFO: Completed initialization
Jan 17, 2012 4:50:48 PM jenkins.InitReactorRunner$1 onAttained
INFO: Loaded all jobs
Jan 17, 2012 4:50:46 PM hudson.ExtensionFinder$AbstractGuiceFinder$SezpozModule configure
WARNING: Failed to load hudson.scm.listtagsparameter.ListSubversionTagsParameterDefinition$DescriptorImpl
java.lang.NoClassDefFoundError: org/tmatesoft/svn/core/auth/ISVNAuthenticationProvider
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.privateGetPublicMethods(Unknown Source)
at java.lang.Class.getMethods(Unknown Source)
at hudson.ExtensionFinder$AbstractGuiceFinder$SezpozModule.resolve(ExtensionFinder.java:409)
at hudson.ExtensionFinder$AbstractGuiceFinder$SezpozModule.configure(ExtensionFinder.java:430)
at com.google.inject.AbstractModule.configure(AbstractModule.java:62)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:229)
at com.google.inject.spi.Elements.getElements(Elements.java:103)
at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:136)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)
at com.google.inject.Guice.createInjector(Guice.java:94)
at com.google.inject.Guice.createInjector(Guice.java:71)
at hudson.ExtensionFinder$AbstractGuiceFinder.<init>(ExtensionFinder.java:243)
at hudson.ExtensionFinder$GuiceFinder.<init>(ExtensionFinder.java:186)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at net.java.sezpoz.IndexItem.instance(IndexItem.java:181)
at hudson.ExtensionFinder$Sezpoz._find(ExtensionFinder.java:561)
at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:536)
at hudson.ExtensionFinder._find(ExtensionFinder.java:147)
at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:289)
at hudson.ExtensionList.load(ExtensionList.java:278)
at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231)
at hudson.ExtensionList.iterator(ExtensionList.java:138)
at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:282)
at hudson.ExtensionList.load(ExtensionList.java:278)
at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231)
at hudson.ExtensionList.iterator(ExtensionList.java:138)
at hudson.model.listeners.SaveableListener.fireOnChange(SaveableListener.java:77)
at hudson.model.UpdateCenter.save(UpdateCenter.java:435)
at hudson.util.PersistedList.onModified(PersistedList.java:152)
at hudson.util.PersistedList.replaceBy(PersistedList.java:79)
at hudson.model.UpdateCenter.load(UpdateCenter.java:449)
at hudson.model.UpdateCenter.init(UpdateCenter.java:1369)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120)
at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
at jenkins.model.Jenkins$5.runTask(Jenkins.java:812)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 52 more
Jan 17, 2012 4:50:46 PM hudson.ExtensionFinder$AbstractGuiceFinder$SezpozModule configure
WARNING: Failed to load hudson.scm.SubversionSCM$DescriptorImpl
java.lang.NoClassDefFoundError: org/tmatesoft/svn/core/SVNException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.privateGetPublicMethods(Unknown Source)
at java.lang.Class.getMethods(Unknown Source)
at hudson.ExtensionFinder$AbstractGuiceFinder$SezpozModule.resolve(ExtensionFinder.java:409)
at hudson.ExtensionFinder$AbstractGuiceFinder$SezpozModule.configure(ExtensionFinder.java:430)
at com.google.inject.AbstractModule.configure(AbstractModule.java:62)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:229)
at com.google.inject.spi.Elements.getElements(Elements.java:103)
at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:136)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)
at com.google.inject.Guice.createInjector(Guice.java:94)
at com.google.inject.Guice.createInjector(Guice.java:71)
at hudson.ExtensionFinder$AbstractGuiceFinder.<init>(ExtensionFinder.java:243)
at hudson.ExtensionFinder$GuiceFinder.<init>(ExtensionFinder.java:186)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at net.java.sezpoz.IndexItem.instance(IndexItem.java:181)
at hudson.ExtensionFinder$Sezpoz._find(ExtensionFinder.java:561)
at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:536)
at hudson.ExtensionFinder._find(ExtensionFinder.java:147)
at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:289)
at hudson.ExtensionList.load(ExtensionList.java:278)
at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231)
at hudson.ExtensionList.iterator(ExtensionList.java:138)
at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:282)
at hudson.ExtensionList.load(ExtensionList.java:278)
at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231)
at hudson.ExtensionList.iterator(ExtensionList.java:138)
at hudson.model.listeners.SaveableListener.fireOnChange(SaveableListener.java:77)
at hudson.model.UpdateCenter.save(UpdateCenter.java:435)
at hudson.util.PersistedList.onModified(PersistedList.java:152)
at hudson.util.PersistedList.replaceBy(PersistedList.java:79)
at hudson.model.UpdateCenter.load(UpdateCenter.java:449)
at hudson.model.UpdateCenter.init(UpdateCenter.java:1369)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120)
at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
at jenkins.model.Jenkins$5.runTask(Jenkins.java:812)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.tmatesoft.svn.core.SVNException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 52 more
Jan 17, 2012 4:50:45 PM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
Jan 17, 2012 4:50:45 PM hudson.ExtensionFinder$Sezpoz scout
WARNING: Failed to scout hudson.scm.SubversionSCM$DescriptorImpl
java.lang.NoClassDefFoundError: org/tmatesoft/svn/core/SVNException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at hudson.ExtensionFinder$Sezpoz.scout(ExtensionFinder.java:599)
at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:283)
at hudson.ExtensionList.load(ExtensionList.java:278)
at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231)
at hudson.ExtensionList.iterator(ExtensionList.java:138)
at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:282)
at hudson.ExtensionList.load(ExtensionList.java:278)
at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231)
at hudson.ExtensionList.iterator(ExtensionList.java:138)
at hudson.model.listeners.SaveableListener.fireOnChange(SaveableListener.java:77)
at hudson.model.UpdateCenter.save(UpdateCenter.java:435)
at hudson.util.PersistedList.onModified(PersistedList.java:152)
at hudson.util.PersistedList.replaceBy(PersistedList.java:79)
at hudson.model.UpdateCenter.load(UpdateCenter.java:449)
at hudson.model.UpdateCenter.init(UpdateCenter.java:1369)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120)
at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
at jenkins.model.Jenkins$5.runTask(Jenkins.java:812)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.tmatesoft.svn.core.SVNException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 30 more
Jan 17, 2012 4:50:45 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
Jan 17, 2012 4:50:45 PM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
Jan 17, 2012 4:50:45 PM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Jan 17, 2012 4:50:45 PM hudson.PluginManager$1$3$1 isDuplicate
INFO: Ignoring C:\Program Files (x86)\Jenkins\plugins\subversion.jpi because C:\Program Files (x86)\Jenkins\plugins\subversion.hpi is already loaded
Jan 17, 2012 4:50:39 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Jan 18, 2012
Peter Schuetze says:
I think this comment is a good candidate for an bug (issue) report (http://issue...I think this comment is a good candidate for an bug (issue) report (http://issues.jenkins-ci.org/)
Feb 27, 2012
Yosinobu Iriguti says:
I have found a simple mistake in the robust post-commit hook example. At the li...I have found a simple mistake in the robust post-commit hook example.
At the line 18, you have to use double quotes to expand variables. so
NOTIFY_URL='subversion/${UUID}/notifyCommit?rev=${REV}'should be
NOTIFY_URL="subversion/${UUID}/notifyCommit?rev=${REV}"Feb 27, 2012
Kevin Vaughn says:
Upgrades on Windows Server 2008 do not work. Even when I wipe out Jenkins ...Upgrades on Windows Server 2008 do not work. Even when I wipe out Jenkins and start over from scratch, the old version comes back. Upgrades fail with the error below (and yes, I've deleted the file several times but the wrong version always comes back). Any ideas?hudson.util.IOException2: Failed to dynamically deploy this plugin
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1137)
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:955)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Unable to delete E:\jenkins\plugins\subversion\WEB-INF\lib\svnkit-1.3.4-jenkins-4.jar
at hudson.Util.deleteFile(Util.java:237)
at hudson.Util.deleteRecursive(Util.java:287)
at hudson.Util.deleteContentsRecursive(Util.java:198)
at hudson.Util.deleteRecursive(Util.java:278)
at hudson.Util.deleteContentsRecursive(Util.java:198)
at hudson.Util.deleteRecursive(Util.java:278)
at hudson.Util.deleteContentsRecursive(Util.java:198)
at hudson.Util.deleteRecursive(Util.java:278)
at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:389)
at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:113)
at hudson.PluginManager.dynamicLoad(PluginManager.java:340)
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1133)
... 7 more
Mar 28, 2012
Dan Oster says:
I was using this plugin without any significant problems for more than a month, ...I was using this plugin without any significant problems for more than a month, but now I've been having all sorts problems the last couple of weeks. I just have 3 jobs that are set up to poll our SVN repository every minute. At least several times a day, at least one of the projects just stops polling and I have to restart Jenkins to get polling to work again. I tried adjusting the "SCM Polling, Max # of concurrent polling" setting, but it did not seem to make any difference.
Also, I sometimes get this message on the Manage Jenkins page: "There are more SCM polling activities scheduled than handled, so the threads are not keeping up with the demands. Check if your polling is hanging, and/or increase the number of threads if necessary."
Jenkins v1.424.6 (I was using 1.424.2 and just upgraded to 1.424.6, but that did not make any difference.)
Subversion plugin v1.39
Tomcat v7.0.23
Any ideas? This is really causing me significant grief! Help!
Thanks. -Dan
Apr 04, 2012
Myron n/a says:
> For features such as SVN polling a default value is required Is there a wa...> For features such as SVN polling a default value is required
Is there a way to automatically choose one upon polling?
eg if i set "Maximum tags to display" to 1 (and sort by latest)
Apr 16, 2012
Dmitry Teterevyatnikov says:
Hi guys, New version of SVNKit with full Subversion 1.7 support is released: htt...Hi guys, New version of SVNKit with full Subversion 1.7 support is released: http://svnkit.com/
When are you planning to release new version of Jenkins plugin, so we could start to use Subversion 1.7 normally without any tricks in our repositories? now I just should use outdated svn clients for 1.6 subversion just because of jenkins checkout sources in old 1.6 file format :(
Regards, Dmitry
Apr 27, 2012
Frank Koehl says:
The wget-based post-commit hook script is pretty slick, but logins using the API...The wget-based post-commit hook script is pretty slick, but logins using the API token do not work. Contrary to documentation, I have to user my account password for the --http-password value.
Using the API token, I get this output:
Again, the build executes properly using my actual account password.
Anyone else seeing the same behavior? Clean install: Jenkins 1.461 | Subversion plugin 1.39
May 23, 2012
Eugene Kandlen says:
If you have very large commits with a lot of changes and get errors like this: ...If you have very large commits with a lot of changes and get errors like this:
hooks/post-commit: line 6: /usr/bin/wget: Argument list too longYou can limit number of description lines in post-commit hook, for example to 512:
--post-data "`svnlook changed --revision $REV $REPOS` | head -n 512" \Jun 19, 2012
Martin Grotzke says:
I want jenkins to automatically select the latest tag for a build. I have confi...I want jenkins to automatically select the latest tag for a build.
I have configured the build parameter
"List Subversion Tags" with
Name = SVN_TAG
Repository URL = http://someproj.googlecode.com/svn/tags
Maximum tags to display = 1
Sort newest first = true
The Source Code Management / Subversion is configured with
Repository URL = http://someproj.googlecode.com/svn/tags/$SVN_TAG
When I trigger a build (manually) jenkins tells me that "This build requires parameters:" and provides a drop down for SVN_TAG with a single value.
Instead, I expect jenkins to build this tag automatically. Is this possible, what am I doing wrong?
Jul 09, 2012
Junior Mayhe says:
Does the creator of this plugin noticed that there is still an issue regarding t...Does the creator of this plugin noticed that there is still an issue regarding the AssertionError?
https://issues.jenkins-ci.org/browse/JENKINS-13790?focusedCommentId=165060#comment-165060
Aug 15, 2012
Martin Jost says:
Documentation for "Excluded Regions" / "Included Regions" I would like more do...Documentation for "Excluded Regions" / "Included Regions"
I would like more documentation on this. E.g. the help
{{Each exclusion uses regular expression pattern matching, and must be separated by a new line. /trunk/myapp/src/main/web/.*\.html
/trunk/myapp/src/main/web/.*\.jpeg
/trunk/myapp/src/main/web/.*\.gif}}
seems to imply,that I'm not allowed to use the full repository URL. My tests seem to confirm this.
Is this correct ? If yes, I think this should be changed !
What if I have to repositories if the same path name inside. One I want to exclude, the other not. To my understanding this is not possible currently.
My tests further seem to imply, that the given RE needs to match the whole path. E.g. it seemed I needed '.*' at the end to make it work. Correct ?
(Can someone point me to the source file, there this is implemented ? I already tried to RTFS, but failed to find the correct file)
Regards
Martin
Aug 29, 2012
Lyndon Washington says:
Is there a way that a plugin that wants to provide some additional subversion fu...Is there a way that a plugin that wants to provide some additional subversion functionality can utilize this plugin to handle authentication and other SVNKit integration?
An example might be if the SVN publish plugin was still being developed.
Sep 04, 2012
Joerge Mathias says:
Hi, I am trying to use the same plugin (Jenkins 1.475) to build on Windows Plat...Hi,
I am trying to use the same plugin (Jenkins 1.475) to build on Windows Platforms using the Post-commit.bat and the vbscript. For trial I am having tortoisesvn and the svnlook.exe(silksvn) in same machine. Jenkins is hosted on Tomcat 7.0 which is running on my Admin credentials. My builds are not triggering even after the post -commit.bat and the vbscipt has been triggered. So I took the url by running the vbscript on command prompt and past it on a browser address bar.
Then I am getting an error
Status code 500
Exception: Must be POST, Can't be GET with a very long call stack.
Stacktrace:javax.servlet.ServletException: Must be POST, Can't be GET
at hudson.model.AbstractModelObject.requirePOST(AbstractModelObject.java:88)
at hudson.scm.SubversionRepositoryStatus.doNotifyCommit(SubversionRepositoryStatus.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90)
at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:384)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:384)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488)
at org.kohsuke.stapler.Stapler.service(Stapler.java:162)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)Since I am new to Jenkins I have no idea what these means. Please provide me a solution or point me to the right direction.
Thanks,
Joerge
Feb 08, 2013
Stephan Beutel says:
I've the same problem with Jenkins Subversion Plug-in in Jenkins 1.500 Is there...I've the same problem with Jenkins Subversion Plug-in in Jenkins 1.500
Is there a solution/fix available?
Thanks,
Stephan
Sep 04, 2012
Ramón Rial says:
I've just discover a bug in 1.42 version. The plugin is not setting the default ...I've just discover a bug in 1.42 version. The plugin is not setting the default value. I have a patch for this. I've attached it to this comment (defaultValue.patch)
Sep 04, 2012
Ramón Rial says:
I've made a patch to allow select an empty tag. This may be useful when the user...I've made a patch to allow select an empty tag. This may be useful when the user wants no select a tag.
This is optional. The trick is insert the three dashes string (---), so when the user wants no svn tag selection he selects.
I use this in jobs that launch another jobs after selection svn tags, and when I don't want to launch a specific job I select ---. So there is no necesary additional boolean parameter to get this funcionality.
I attach a patch: noTagSelection.patch The patch incorporates the patch in my previous post.
Bye!
Sep 26, 2012
dmaslakov - says:
Having version 1.43 installed and using Subversion 1.7 I get error during t...Having version 1.43 installed and using Subversion 1.7 I get error during the build:
*AssertionError: appears to be using unpatched svnkit at file:/tmp/hudson-remoting1576326476922490950/org/tmatesoft/svn/core/wc/SVNEvent.class*
But after that externals check out continues.
Does it mean that:
JENKINS-13790 "Subversion externals fail" is not fixed?
JENKINS-14629 "plugin don't fail the build when checkout failed" is not fixed because build does not fail after error above?
Oct 04, 2012
Ramón Rial says:
In version 1.43 of the plugin the default value of the parameter List Subversion...In version 1.43 of the plugin the default value of the parameter List Subversion Tags is not setting when showing the build parameters page.
I attach a Patch that solves the problem of the default value and to allow selecting a not real empty tag.
Oct 29, 2012
lakshmi narayana says:
jenkins version i use is in one of the build server LINUX machine : 1.466 ...jenkins version i use is in one of the build server LINUX machine : 1.466
This is my ANT file :
<?xml version='1.0' encoding='UTF-8'?>
<project name="platform" default="buildDetails" basedir=".">
<target name="buildDetails">
<property environment="env" />
<propertyfile file="BuildDetails.properties">
<entry key="SVN_URL" value="$
"/>
<entry key="SVN_REVISION" value="$
"/>
<entry key="BUILD_ID" value="$
"/>
</propertyfile>
</target>
</project>
===========================
getting output like below
===========================
#Sun, 28 Oct 2012 09:08:14 +0200
SVN_URL=$
SVN_REVISION=$
BUILD_ID=2012-10-28_09-06-05
===========================
not sure what could be the issue.
same thing is working in some CENTOS system where jenkins version is : 1.466 and other windows machine :1.457
and out is getting properly.
issue is BUILD_ID is getting displayed but not SVN_URL and SVN_REVISION :(
Quick help is highly appreciated.
Thanks in Advance.
Feb 01, 2013
Alexey Larsky says:
Specifying user name and password for svn repo in Job configuration: [1] http:/...Specifying user name and password for svn repo in Job configuration:
[1] http://<JENKINS_SERVER>/scm/SubversionSCM/enterCredential
[2] <JENKINS_HOME>/hudson.scm.SubversionSCM.xml
[3] <JENKINS_SERVER>/job/<JOB_NAME>/descriptorByName/hudson.scm.SubversionSCM/enterCredential
[4] <JENKINS_SERVER>/job/<JOB_NAME>/descriptorByName/hudson.scm.SubversionSCM/postCredential
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=7&cad=rja&ved=0CHYQFjAG&url=http%3A%2F%2Fgroups.google.com%2Fgroup%2Fjenkinsci-users%2Fbrowse_thread%2Fthread%2F6b1a4a053988fd12&ei=_KULUe6qDIPStAazgoHwCA&usg=AFQjCNH_FVWGVdvecnn0Red8T3XH276LAw&sig2=iP14O-RXQA2c9nrH0L13dg&bvm=bv.41867550,d.Yms
Feb 08, 2013
Stephan Beutel says:
Hello, I'm trying now for at least 3 weks to get my post-commit hooks running a...Hello,
I'm trying now for at least 3 weks to get my post-commit hooks running again.
I use the hook script for Windows from this site, But I can't get the build running.
There are nor entries in my error/event logs.
My system:
Windows8 pro
VisualSVN server 2.5.7
Jenkins 1.500
Subversion plugin 1.45
SCM polling is enabled with '0 * 1 1 *'
Ignore trigger checkbox is deactivated.
I use matrix based security and don't allow anonymous access, but I tried the same trigger with full acces for anonymous too.
Please help me getting my triggers to run.
Thanks
Stephan
Feb 14, 2013
Alon B says:
I have the same issue. Windows 2008 R2 VisualSVN Server 2.5.5 Jenkins 1.501 Sub...I have the same issue.
Windows 2008 R2
VisualSVN Server 2.5.5
Jenkins 1.501
Subversion plugin 1.45
SCM polling enabled with @monthly
'Ignore post-commit hooks' disabled
Role-based security with anonymous read.
I tried to send the POST command manually and even got a 200 response, but Jenkins remains quiet and no job is triggered.
Stephan, did you figure this out?
Mar 22, 2013
Rick L says:
Hi, We're at rev 1.44 of this plugin. When using variables in the Reposit...Hi,
We're at rev 1.44 of this plugin. When using variables in the Repository URL field, it appears to do full checkouts each time even though we tell it to use 'svn update'. Is this expected behavior?
Our repository url is of the form: $SVN_REPO/$SVN_APPLICATION/$SVN_BUILDBRANCH
Thanks,
R
Mar 29, 2013
Joe Knudsen says:
When using Active Directory for your Subversion you get an additional Domain add...When using Active Directory for your Subversion you get an additional Domain added to the user. Then the user does not match the person logging into Jenkins. Does anyone know of a way to remove the prefix of the domain so you do not end up with two people in Jenkins?
Apr 14, 2013
Charlie Bosson says:
The SCM polling log is detecting changes for an external with a fixed revision, ...The SCM polling log is detecting changes for an external with a fixed revision, so builds are triggered at every polling interval. For example, here's a common polling log:Started on Apr 14, 2013 1:32:46 PM
Received SCM poll call on sb-build-01 for KOB Smoke on Apr 14, 2013 1:32:44 PM
<external1> is at revision 202,309
<external2> is at revision 202,128
(changed from 198,711)
<external3> is at revision 195,655
<external4> is at revision 202,457
<external5> is at revision 202,298
<external6> is at revision 191,799
Done. Took 14 sec
Changes found
For <external2> the detected revision is the HEAD revision, although it is fixed at 198,711.
We're using v. 1.45 of the plugin, and all of our build slaves are upgraded to SVN v. 1.7.
Any suggestions why the fixed external revision is not honored?
Apr 23, 2013
David Aldrich says:
We are using SVN Plugin 1.39. If I upgrade to 1.45 the Jenkins working cop...We are using SVN Plugin 1.39. If I upgrade to 1.45 the Jenkins working copies must be upgraded from svn 1.6 to svn 1.7 format. Will this happen automatically or will the jobs fail and require me to upgrade each working copy manually?
May 13, 2013
hyunil shin says:
I want to save the change log to a file. Can I do that?I want to save the change log to a file.
Can I do that?
May 13, 2013
hyunil shin says:
Question I have several jobs. They use the same username/password to access rep...Question
I have several jobs. They use the same username/password to access repositories.
Can Jenkins manage a kind of global svn username/password?
For exampe, can I make a job with svn, without inputing the same username/password?
I want to give a job just svn url.
Jun 01, 2013
Fabian Luft says:
Hi everyone, I have a question regarding the configuration of the post-commit-h...Hi everyone,
I have a question regarding the configuration of the post-commit-hook.
I followed the tutorial above how to setup the post-commit-hook. But it seems the URL http://localhost:8080/jenkins/subversion and so on is not available. Am I missing any configuration. I am receiving a 404-Error when I try to access the page.
Jul 25, 2013
Randal Cobb says:
Is there a way to specify additional arguments to the URL and have them passed a...Is there a way to specify additional arguments to the URL and have them passed along to the job(s) the URL can trigger?
For example:
This would send param1=someValue and param2=someOtherValue on to the jobs that would get triggered.
I can think of several situations where this my be beneficial to larger build environments. In my case, I have over 300 build jobs that are "generic" in nature and use the "List Subversion Tags" plugin to allow selection of a branch or tag to build from. Passing this in from this plugin would have the potential to eliminate several hundred other jobs that simply call these generic builds by passing in the selected branch as an argument.
I'm sure I'm not the first user who may have or desire this type of functionality, yes?
Aug 16, 2013
Veronika Makeeva says:
My task: I need checkout files from my repository from certain revision. I crea...My task: I need checkout files from my repository from certain revision.
I created the parameterized job and wrote URL of repository in Subversion. If I write URL of repository without parameters, then I will get the files from HEAD revision. It is correct. If I write URL of repository with parameter (It is variable with number of revision. I must get files from this revision. This revision doesn't equal HEAD), then I will get the error. In this task I must get the files from each revision successively and I must not get the files from HEAD revision.
Is it bug in each version this plugin?
Sep 08, 2013
Sergiy Tkachuk says:
> Jobs on Jenkins need to be configured with the SCM polling option to benefi...> Jobs on Jenkins need to be configured with the SCM polling option to benefit from this behavior.
This is really good note for Post-commit hook.
It is not intuitive that job configuration option "Poll SCM" also have affect for pushing SCM as well.
I have overlooked this note and found on SO only http://stackoverflow.com/a/11522636/13441
Nov 20, 2013
David Aldrich says:
What are the changes in 1.54 please?What are the changes in 1.54 please?
Feb 07, 2014
compegps compegps says:
hi, I have installed Junkins for first time. I use svn and the problem that I h...hi,
I have installed Junkins for first time. I use svn and the problem that I have with the svn plugin is that the newer version that supports is 1.7 and in my company we have installed the last release 1.8. When I run a job the error that shows is "ERROR: svn: E155021: This client is too old to work with the working copy at"
That's true because in the Subversion Workspace Version field to define the version the newer is 1.7 and I have had 1.8
How can it be this problem solved ? Because I can not downgrade my svn system to 1.7
When the plugin will be updated to support 1.8 version ?
cheers
Feb 07, 2014
David Aldrich says:
You can let Jenkins create workspaces in 1.7 mode. It doesn't matter what versio...You can let Jenkins create workspaces in 1.7 mode. It doesn't matter what version of svn client you have installed on your machine, although you won't be able to manually use the 1.8 client on the Jenkins workspace.
By the way, you will probably get quicker support if you use the Jenkins user email list.
Feb 21, 2014
Sergey Saraev says:
Hi David, I have a similar problem. Your solution does not work for my project....Hi David,
I have a similar problem. Your solution does not work for my project. I use the svnkit library in it. Latest version of svnkit (1.8.3) does not support working copy in 1.7 format. Only 1.4, 1.5, 1.6 and 1.8 versions. My project should be run locally and on the Jenkins. Now I cannot take advantage of version 1.8 due to Jenkins.
Please look for this issue:
https://issues.jenkins-ci.org/browse/JENKINS-18935
Many people wait upgrade of working copy in 1.8 format.
Hopefully you'll upgrade SVN to version 1.8 soon.
Best wishes.
May 09, 2014
Jeff Dege says:
According to the help description, List Subversion tags is supposed to: Not...According to the help description, List Subversion tags is supposed to:
I have a repository that contains a number of different projects, each of which has a ./trunk, ./branch, ./tag structure. When I set the Repository URL to the root of a project, I only see branch, tag, trunk, I don't see the branches in ./branch or the tags in ./tag.
Is this only supposed to work when the URL is pointing to a repository root? That seems less than useful. In my experience, creating a separate repository for each and every project is a very rare thing.
Jul 11, 2014
Adrian Schiopu says:
HI, How can I find out if the Subversion plugin 2.4 for Jenkins uses --non-...HI,
How can I find out if the Subversion plugin 2.4 for Jenkins uses --non-interactive or --no-auth-cache when check out?
I suspect it uses --no-auth-cache because it does not create the .subversion/auth/svn.simple folder in the user's home directory.
I want to change this option to --non-interactive (if it's possible).
Best,
Adrian.
Aug 23, 2014
sam detweiler says:
I am setting up the system to do developer based CI builds, using the parameteri...I am setting up the system to do developer based CI builds, using the parameterized build plugin to trigger a specific job, triggered from the SVN post-commit hook.
all works ok when I hard code some credentials in the SVN SCM config..
this all works perfectly when I specify a known jenkins credential for the two checkouts.
with no credential specified, I get hudson.util.IOException2: revision check failed on .... repo/user_branchname
Caused by: org.tmatesoft.svn.core.SVNCancelException: svn: E200015: No credential to try. Authentication failedbut, I want to run these operations as the SVN user. so that the commit to integration branch is done by the initiating user
I can get that out of the revision info with svnlook author, but not the password of course.
I added the user info to the wget triggering the build and 'USER' env variable is set.
how can I get the two repo checkouts to use it?

Aug 25, 2014
Andrew Sumner says:
We are moving to VisualSVN Server using Active Directory to authenticate users.&...We are moving to VisualSVN Server using Active Directory to authenticate users. Does this plugin support AD authentication rather than username/password based credentials? If not, how can I achieve this?
Sep 08, 2014
Nus theBuilder says:
I have one litle thing... i'm somehow stuck on the version 1.54 because upg...I have one litle thing... i'm somehow stuck on the version 1.54 because upgrading to any newer version will end up having empty dropdown in the "list Subversion Tags" feauture. Does anyone maybe know why this is happening?
Subversion Server is on version 1.8.4 but this should still work with a 1.7 client... I don't find any hint in the logs of jenkins or something else.
Sep 09, 2014
Nus theBuilder says:
Hello There Just some further information, not one log entry gets generat...Hello There
Just some further information, not one log entry gets generated on one of those loggers when i'm loading the "build with parameter" page(in the dropdown apears for some ms the description "retrieving tags..." but then u would expect to see at least some hits in the svnkit-network logger.)
hudson.scm.listtagsparameter.ListSubversionTagsParameterDefinition
hudson.scm.SubversionSCM
hudson.scm.SubversionWorkspaceSelector
hudson.scm.CredentialsSVNAuthenticationProviderImpl
hudson.scm.SCMDescriptor
svnkit-network
svnkit
svnkit-wc
com.mtvi.plateng.subversion.SVNPublisher
com.mtvi.plateng.subversion.SVNPublisher$DescriptorImpl-
Best
nus_the_Builder
Nov 06, 2014
fun ctor says:
i create a slave node on a HP-UX(B.11.31) server, and use subversion plugins che...i create a slave node on a HP-UX(B.11.31) server, and use subversion plugins check out my source from SVN server, and there are some chinese character in the file name,
when i run the task, i get the filename is ?????xx.txt, and some files are missing;
why??
how can i get the all the files and correct file name;
Dec 09
David Aldrich says:
Regarding the new snapshot with 1.8 support, I don't understand how the workspac...Regarding the new snapshot with 1.8 support, I don't understand how the workspace version works.
I have many Jenkins jobs, all have workspaces in svn 1.7 format (naturally). With the new plugin version, if I set System Configuration > Subversion Workspace Version to 1.8, will the following be true?
1) Existing 1.7 workspaces will continue to operate fine
2) New workspaces will be checked out in 1.8 format.
Am I correct?
Dec 12
Bayley Gaillard says:
It has been 6 months since SVN 1.8 came out. Is there plans to release plugin 2....It has been 6 months since SVN 1.8 came out. Is there plans to release plugin 2.5 soon? The latest snapshot I tried to install doesn't work (it somehow breaks authentication), and I need to upgrade to 1.8.
Dec 22
J McG says:
When will the v2.5 snapshot be released for svn 1.8 support? (Note that the Subv...When will the v2.5 snapshot be released for svn 1.8 support? (Note that the Subversion Tagging plugin does not work with the 12th Dec 2.5 snapshot.)
Dec 22
J McG says:
When will the v2.5 snapshot be released for svn 1.8 support? (Note that the Subv...When will the v2.5 snapshot be released for svn 1.8 support? (Note that the Subversion Tagging plugin does not work with the 12th Dec 2.5 snapshot.)
Jan 08
Ramón Rial says:
In Manual build, the default value is ignored. Is that right? I think the defau...In Manual build, the default value is ignored. Is that right?
I think the default value should be always setted.
Feb 16
Smouch Smouch says:
Can someone please explain what this is all about: This plugin adds the Subvers...Can someone please explain what this is all about:
This plugin adds the Subversion support (via SVNKit) to Jenkins.This plugin is bundled inside jenkins.war.
Why is there a subversion plugin available to be installed via the "Manage Plugins" if subversion support is already provided via jenkins.war ?
Mar 26
Shawn Baker says:
When is there going to be another release of this plugin? It would be nice...When is there going to be another release of this plugin? It would be nice if we could get subversion tagging working again when using version 1.8. (https://issues.jenkins-ci.org/browse/JENKINS-26611)
Apr 20
G Dameron says:
This plugin is bundled with the Jenkins core. mapdb-api and scm-api are both lis...This plugin is bundled with the Jenkins core. mapdb-api and scm-api are both listed as non-optional dependencies, yet neither of them are bundled. Why is that?
Apr 22
Smouch Smouch says:
Actually, my vote is that this plug-in be removed from Jenkins by default - or a...Actually, my vote is that this plug-in be removed from Jenkins by default - or at least have the option to completely disable it, and use the host (either master or slave) machine subversion command-line client.
Trying to maintain a parallel set of code to be compatible with subversion releases is an exercise in futility. SVNKit will never be at the same maturity as anything released by the subversion team.
Apr 22
G Dameron says:
I'd second that. Our team doesn't use Subversion. Having it bundled seems a bit ...I'd second that. Our team doesn't use Subversion. Having it bundled seems a bit presumptuous, doesn't it? ;-)
Add Comment