SVN Tagging Issue

2014-03-19 Thread chris.beech
Hi everyone,

I'm new to Jenkins but am having some problems with the SVN Tagging Plugin 
that I can't seem to get past. 

I'm trying to tag my build, but am getting the following frustrating error 
at the end of the build..

*dispmsg:*
* [echo] 18:41:12 Compiling the test classes generated from the CREOLE 
rule sets... server: BUILD SUCCESSFULTotal time: 9 seconds*
*Remote Module Location: 
**http://chrisbeech:81/svn/v6053/trunk@12*http://chrisbeech:81/svn/v6053/trunk@12
*.*
*Tag Base URL: *
*http://chrisbeech:81/svn/v6053/tags/last-successful/Incremental*http://chrisbeech:81/svn/v6053/tags/last-successful/Incremental
*.*
*There was no old tag at *
*http://ChrisBeech:81/svn/v6053/tags/last-successful/Incremental*http://chrisbeech:81/svn/v6053/tags/last-successful/Incremental
*.*
*Subversion copy failed. svn: E200015: OPTIONS /svn/v6053/trunk failed*
*Build step 'Perform Subversion tagging on successful build' marked build 
as failure*
*Finished: SUCCESS*

 
I have tried googling around this but to no avail, I can't seem to figure 
out a) what the cause of the problem is or b) how to fix it.

I'm running Jenkins 1.554 with SVN 2.2 and SVN Tagging Plugin 1.16 , my SVN 
server is VisualSVN (v2.74) on Windows 7 64bit.

Everything is the latest and greatest (as far as I can tell) so it's 
confusing me, any light you can shed on this (or direction you can point me 
to look) are gratefully appreciated!

Thanks,

Chris

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: SVN Tagging Issue

2014-03-19 Thread Daniel Beck
Subversion Tagging Plugin reuses the Subversion SCM authentication of the 
project. And Subversion plugin 2.0 changed a lot about that.

There's a chance you just need to add an 'Additional Credential' for the repo. 
It's essentially the same problem as in JENKINS-21785 [1]. Read all the 
comments to that issue to find out what to enter as additional credential.

Unfortunately, from reading the code, it looks more like 
SubversionSCM.DescriptorImpl.createAuthenticationProvider(AbstractProject) 
would need to pass the project's SubversionSCM to 
CredentialsSVNAuthenticationProviderImpl.createAuthenticationProvider(Item,SubversionSCM,SubversionSCM.ModuleLocation)
 get any additional credentials considered.

1: https://issues.jenkins-ci.org/browse/JENKINS-21785

On 10.03.2014, at 23:59, chris.beech chris.be...@dionatec.com wrote:

 Hi everyone,
 
 I'm new to Jenkins but am having some problems with the SVN Tagging Plugin 
 that I can't seem to get past.
 
 I'm trying to tag my build, but am getting the following frustrating error at 
 the end of the build..
 
 dispmsg:
  [echo] 18:41:12 Compiling the test classes generated from the CREOLE 
 rule sets...
  
 server:
  
 BUILD SUCCESSFUL
 Total time: 9 seconds
 Remote Module Location: http://chrisbeech:81/svn/v6053/trunk@12.
 Tag Base URL: http://chrisbeech:81/svn/v6053/tags/last-successful/Incremental.
 There was no old tag at 
 http://ChrisBeech:81/svn/v6053/tags/last-successful/Incremental.
 Subversion copy failed. svn: E200015: OPTIONS /svn/v6053/trunk failed
 Build step 'Perform Subversion tagging on successful build' marked build as 
 failure
 Finished: SUCCESS
  
 I have tried googling around this but to no avail, I can't seem to figure out 
 a) what the cause of the problem is or b) how to fix it.
 
 I'm running Jenkins 1.554 with SVN 2.2 and SVN Tagging Plugin 1.16 , my SVN 
 server is VisualSVN (v2.74) on Windows 7 64bit.
 
 Everything is the latest and greatest (as far as I can tell) so it's 
 confusing me, any light you can shed on this (or direction you can point me 
 to look) are gratefully appreciated!
 
 Thanks,
 
 Chris
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: SVN Tagging Issue

2014-03-19 Thread Daniel Beck

On 19.03.2014, at 21:38, Daniel Beck m...@beckweb.net wrote:

 Unfortunately, from reading the code, it looks more like 
 SubversionSCM.DescriptorImpl.createAuthenticationProvider(AbstractProject) 
 would need to pass the project's SubversionSCM to 
 CredentialsSVNAuthenticationProviderImpl.createAuthenticationProvider(Item,SubversionSCM,SubversionSCM.ModuleLocation)
  get any additional credentials considered.

I was correct. Here's a patch if you know how to compile and install a custom 
build:

https://github.com/daniel-beck/subversion-plugin/commit/c042204e09e87341fb08ff095cf3b873b7dec130

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: SVN tagging issue - quick question

2012-12-31 Thread Harpreet singh Wadhwa
Don't know about any way through plugins, but still have couple of
workarounds.
* You can use the revision numbers, rather than head/tip. So from the
bash/batch section do svn update to keep it on the revision before running
the process.
* Mercurial (or any decentralized system) proves to be better in such
cases. As in mercurial you can point the second (and so on) jobs to pull
from the cloned repo (workspace) of the first job, in that way the revision
is controlled and stays where the first job ran.

Thanks

On Mon, Dec 31, 2012 at 11:26 AM, zw mpc8...@gmail.com wrote:

 Hi All

 We have a big chained job that runs for about an hour. Chained job meaning
 several jobs combined using downstream connections of jobs.

 We have the following problem, which is better explained in use case
 scenario:

 3pm - User A checks in files into SVN directory X
 315pm - Job B (has 4 subjobs) - and subjob 1 - checkouts files from SVN
 directory X, compiles and completes subjob run, then
 320pm - subjob 2 - checksouts files from SVN directory Y and compiling
 325pm - User C checks in files into SVN directory Z
 335pm - subjob2 completes run and subjob 3 - checkouts files from SVN
 directory Z, compiles and completes subjob run, then
 345pm - subjob4 checkouts files from SVN directory G, compiles and
 completes subjob run
 4pm - subjob 4 completes run.

 Issue: For those files that User C checks in, we like to pick up the
 previous versions of those files, prior to User C's checkouts after the job
 B begins running and not pick up the files versions that User B checks in
 during the job B run.

 How can we do that in Jenkins/Hudson ?

 Thanks all for your contribution.




-- 

http://wharpreet.blogspot.com
http://linuxgazettes.blogspot.com
http://in.linkedin.com/in/wharpreet