Override default build with release build using release plugin

21 views
Skip to first unread message

Harsh Shah

unread,
Apr 7, 2015, 4:15:53 PM4/7/15
to jenkin...@googlegroups.com
Hi,

     I am trying to customize release plugin to perform a release build but I see that when a release is performed, the release plugin does a default build first then after the default build success it goes for the release build. This is too much time consuming. So is it possible to override the default build and perform just the release build. 

   

Mark Waite

unread,
Apr 7, 2015, 4:24:22 PM4/7/15
to jenkin...@googlegroups.com
I think that is a question you'll need to take to the maven mailing list.  I believe there have been long and detailed conversations about the behavior of the maven release plugin.

Mark Waite

On Tue, Apr 7, 2015 at 2:15 PM, Harsh Shah <shahh...@gmail.com> wrote:
Hi,

     I am trying to customize release plugin to perform a release build but I see that when a release is performed, the release plugin does a default build first then after the default build success it goes for the release build. This is too much time consuming. So is it possible to override the default build and perform just the release build. 

   

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/de19d740-925f-47db-9729-6a090d202701%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Thanks!
Mark Waite

Harsh Shah

unread,
Apr 7, 2015, 5:10:39 PM4/7/15
to jenkin...@googlegroups.com
Hi Mark

Thank you, but I am not using the maven release plugin. I am using the simple release plugin which works for all types of project. 

Thanks,
Harsh

Dan Tran

unread,
Apr 7, 2015, 5:37:02 PM4/7/15
to jenkin...@googlegroups.com
I dont think the issue is in the maven release itself

the Jenkins release-plugin[1] provides us a way to inject 'mvn -B release:prepare release:perform' using the pre-release step.  However, after a successful release it then invokes the default Jenkins build step  ( normally set clean deploy), we would like to skip this step to speed up the release process

ATM, we have a hardtime figure out the code where we can disable it

Any help is very much appreciated

-Dan


Reply all
Reply to author
Forward
0 new messages