Maven Cascade Release Plugin

156 views
Skip to first unread message

Andrei Pozolotin

unread,
Mar 18, 2013, 2:23:50 PM3/18/13
to jenkins...@googlegroups.com
Hello.

This is an invitation to test drive new jenkins plugin

Thank you

Andrei.

daniel brownell

unread,
Apr 11, 2013, 9:55:13 AM4/11/13
to jenkins...@googlegroups.com
Hi Andrei, 

I'm interested to try this out.  I asked a question on stackoverflow, and it seems like this might be what I'm after.

How do I get your plug-in to show up in my Plugin Manager view?  I clicked the 'Check Now' button, but no change.  I downloaded the HPI file and uploaded it via the Advanced tab, and it just refreshes the screen back to the Updates tab :/  I restarted Jenkins, but no change.  So maybe there's still some issue.

Regards,
Daniel

Andrei Pozolotin

unread,
Apr 11, 2013, 10:17:23 AM4/11/13
to jenkins...@googlegroups.com, daniel brownell
Daniel:

I guess you are my first customer, congratulations :-)

I have no immediate answer, but I will look into this.

What is your os, java/jenkins version?

Thank you,

Andrei
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/V9W3sagC5Zg/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Andrei Pozolotin

unread,
Apr 11, 2013, 10:22:53 AM4/11/13
to jenkins...@googlegroups.com, daniel brownell
I just read you SO question.

you have SVN, but I developed / tested this for GIT / github only,
so after install issue is resolved, it still will not work.

I am not interested in svn, some one else needs to add/test that.


-------- Original Message --------
Subject: Re: Maven Cascade Release Plugin
From: daniel brownell <daniel....@gmail.com>
To: jenkins...@googlegroups.com
Date: Thu 11 Apr 2013 08:55:13 AM CDT
Hi Andrei, 

daniel brownell

unread,
Apr 11, 2013, 10:28:45 AM4/11/13
to jenkins...@googlegroups.com, daniel brownell
Oh no :)  I was so excited to be the first. 

Well, I'll DL your code and see if it can be ported to SVN, but I've never developed jenkins plug-ins, so I will probably give up once it gets difficult.

Thanks for the effort in making the plugin though.  It is definitely something that's missing from Jenkins, and I'm surprised it's only been developed now.

-Daniel

Andrei Pozolotin

unread,
Apr 11, 2013, 10:34:54 AM4/11/13
to jenkins...@googlegroups.com, daniel brownell
:-)

do not download it, fork it on github. better yet, drop svn and migrate to git

Andrei Pozolotin

unread,
Apr 15, 2013, 1:07:10 AM4/15/13
to jenkins...@googlegroups.com, daniel brownell
I verified that install works fine with latest
debian installer http://pkg.jenkins-ci.org/debian/

on ubutnu 12.04


-------- Original Message --------
Subject: Re: Maven Cascade Release Plugin
From: daniel brownell <daniel....@gmail.com>
To: jenkins...@googlegroups.com
Date: Thu 11 Apr 2013 08:55:13 AM CDT
Hi Andrei, 

daniel brownell

unread,
Apr 15, 2013, 8:28:29 AM4/15/13
to jenkins...@googlegroups.com, daniel brownell
Ok, it must just be my version then.  I'm running Jenkins 1.480.2, and the JVM is "JRE 1.6.0 IBM J9 2.4 Linux amd64-64".  For some reason, it doesn't want to get the latest from the update server. 

I looked at the code, and unfortunately won't be able to write the SVN section.  I have no idea what's going on in there. 
Would you say that to get SVN working, one would have to make a superclass for PluginScmGit and PluginScmSvn, replicate the functionality of the Git version in the Svn version (using SVNKit, for example), and rewrite PluginScm to use the superclass?

Just want to get an idea of what would be required, in case someone with more skill is interested in writing it...  is the SCM code separated enough that one would only need to work on that section?

Regards,
Daniel

Andrei Pozolotin

unread,
Apr 15, 2013, 11:07:23 AM4/15/13
to jenkins...@googlegroups.com, daniel brownell
Daniel:

-------- Original Message --------
Subject: Re: Maven Cascade Release Plugin
From: daniel brownell <daniel....@gmail.com>
To: jenkins...@googlegroups.com
Cc: daniel brownell <daniel....@gmail.com>
Date: Mon 15 Apr 2013 07:28:29 AM CDT
Ok, it must just be my version then.  I'm running Jenkins 1.480.2, and the JVM is "JRE 1.6.0 IBM J9 2.4 Linux amd64-64".  For some reason, it doesn't want to get the latest from the update server. 
sorry cant help you more with this.

I think it has to do with me asking for jenkins 1.503
https://wiki.jenkins-ci.org/display/JENKINS/Maven+Cascade+Release+Plugin
I had to move required jenkins version up due to bugs in previous releases.
but I never tried 1.480 specifically - too old for me.

you could try a parallel install:
1) oracle jdk 1.6 or 1.7
2) jenkins at least 1.503


I looked at the code, and unfortunately won't be able to write the SVN section.  I have no idea what's going on in there. 
sorry again :-) it would be easier to understand the code if you get the plugin working first with git on a test project family.

my scm code essentially was a quick hack - re-implementation of jenkins git plugin, which is not flexible enough for cascade use case.


Would you say that to get SVN working, one would have to make a superclass for PluginScmGit and PluginScmSvn, replicate the functionality of the Git version in the Svn version (using SVNKit, for example), and rewrite PluginScm to use the superclass?
yes, you are right. I can re-factor that part.

Just want to get an idea of what would be required, in case someone with more skill is interested in writing it... 
ok.


is the SCM code separated enough that one would only need to work on that section?
yes.

essentially cascade/scm logic is abstracted in 4 places
PluginScm.scmCommit
PluginScm.scmCheckin
PluginScm.scmCheckout
PluginScm.scmUpdate

and layout/scm logic (derive member project scm settings from layout project scm settings)
https://github.com/barchart/barchart-jenkins-cascade-plugin/blob/master/src/main/java/com/barchart/jenkins/cascade/LayoutLogic.java#L463


Regards,
Daniel
Andrei.

Andrei Pozolotin

unread,
Apr 15, 2013, 11:16:49 AM4/15/13
to jenkins...@googlegroups.com, daniel brownell
-------- Original Message --------
Subject: Re: Maven Cascade Release Plugin
From: daniel brownell <daniel....@gmail.com>
To: jenkins...@googlegroups.com
Cc: daniel brownell <daniel....@gmail.com>
Date: Mon 15 Apr 2013 07:28:29 AM CDT
Ok, it must just be my version then.  I'm running Jenkins 1.480.2, and the JVM is "JRE 1.6.0 IBM J9 2.4 Linux amd64-64".  For some reason, it doesn't want to get the latest from the update server. 

Andrei Pozolotin

unread,
Apr 15, 2013, 11:26:04 AM4/15/13
to jenkins...@googlegroups.com, daniel brownell
one more idea for you, totally different answer, hopefully for the same problem:
https://github.com/barchart/barchart-version-tester/wiki/Version-Policy


-------- Original Message --------
Subject: Re: Maven Cascade Release Plugin
From: daniel brownell <daniel....@gmail.com>
To: jenkins...@googlegroups.com
Cc: daniel brownell <daniel....@gmail.com>
Date: Mon 15 Apr 2013 07:28:29 AM CDT
Ok, it must just be my version then.  I'm running Jenkins 1.480.2, and the JVM is "JRE 1.6.0 IBM J9 2.4 Linux amd64-64".  For some reason, it doesn't want to get the latest from the update server. 
Reply all
Reply to author
Forward
0 new messages