How to generate hotfix builds/releases from hudson

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

How to generate hotfix builds/releases from hudson

Kapila Kohli

Hello All,
 
 I am newbie to Hudson & currently trying to start with hudson for my java based project using Ant & CVS. Currently using cruisecontrol.
Seeking new features in  hudson for my requirement--   My biggest bottle neck is -Build/Release generation for Hot fixes which all go from Release branch very often i.e every alt day.I have to always maintain a code in local workspace or tag.

On every hotfix release , only a set of changed files/bugs go.Wondering if such feature is available in hudson where i can generate my hotfix builds on whenever required i.e
--Base version (LIVE code) + Bugs ( on daily basis) topped up


Advice from experts will add a help in my search.

thanks & regards
Reply | Threaded
Open this post in threaded view
|

AW: How to generate hotfix builds/releases from hudson

Knuplesch, Juergen
Hello,
 
we have similar release strategy.
But my hotfixes I do not build using Hudson or any other tool, because we check every class manually, wheter it belongs to the fix or not.
 
But saying this I have two environments, where our product ist installed in a customer style version.
1.Every time we do a fix jar I put the fix into this environment and start all our tests using Hudson and Ant.
2.Every night the relese candidates are created and tested automatically in the other environment. So I find compile errors and other failures much faster.
 
But this means a lot of work for you (as it was for me):
 
You have to do sth. like the following steps:
1.You have to create a "customer" installation on your build machine
2. You create the fix by compiling against this environment.
3.You put the fix into this env.
4.You run tests etc.
5. If everythings fine you deploy the fix
 
Greetings Juergen

--
Jürgen Knuplesch                    www.icongmbh.de
icon Systemhaus GmbH                Tel. +49 711 806098-275
Sophienstraße 40                   
D-70178 Stuttgart                   Fax. +49 711 806098-299

Geschäftsführer: Uwe Seltmann
HRB Stuttgart 17655
USt-IdNr.: DE 811944121

 


Von: Kapila Kohli [mailto:[hidden email]]
Gesendet: Montag, 23. November 2009 12:20
An: [hidden email]
Betreff: How to generate hotfix builds/releases from hudson


Hello All,
 
 I am newbie to Hudson & currently trying to start with hudson for my java based project using Ant & CVS. Currently using cruisecontrol.
Seeking new features in  hudson for my requirement--   My biggest bottle neck is -Build/Release generation for Hot fixes which all go from Release branch very often i.e every alt day.I have to always maintain a code in local workspace or tag.

On every hotfix release , only a set of changed files/bugs go.Wondering if such feature is available in hudson where i can generate my hotfix builds on whenever required i.e
--Base version (LIVE code) + Bugs ( on daily basis) topped up


Advice from experts will add a help in my search.

thanks & regards
Reply | Threaded
Open this post in threaded view
|

Re: How to generate hotfix builds/releases from hudson

Kapila Kohli
Thanks a lot Juergen  for such a prompt reply ..like hudson now :)

Well, yes that's the issue. creating s/w builds  is not an issue cruisecontrol is sufficing my needs. But deadlock comes in Hotfix releases.

but can you clear my  2 queries -

1) Can this be possible in hudson-
     We create  a local env (checkout from release branch )for every  major release & then generating hotfix releases/builds from Hudson by pop-u-locating new bugs handover over to QA then to LIVE?
  like LIVE code + bugs + bugs + bugs .....etc
on every successful build, create a package for that bug fix(pacakge creation can be easily done by script, any change here?)

2)Is there any way in hudson that we can store the base build.no which went LIVE for any major release
  & then whenever any bug fix has to go -we just set an env in hudson itself  i.e Base build no. + add bugs on that?

Regards
Kapila

On Mon, Nov 23, 2009 at 4:59 PM, Knuplesch, Juergen <[hidden email]> wrote:
Hello,
 
we have similar release strategy.
But my hotfixes I do not build using Hudson or any other tool, because we check every class manually, wheter it belongs to the fix or not.
 
But saying this I have two environments, where our product ist installed in a customer style version.
1.Every time we do a fix jar I put the fix into this environment and start all our tests using Hudson and Ant.
2.Every night the relese candidates are created and tested automatically in the other environment. So I find compile errors and other failures much faster.
 
But this means a lot of work for you (as it was for me):
 
You have to do sth. like the following steps:
1.You have to create a "customer" installation on your build machine
2. You create the fix by compiling against this environment.
3.You put the fix into this env.
4.You run tests etc.
5. If everythings fine you deploy the fix
 
Greetings Juergen

--
Jürgen Knuplesch                    www.icongmbh.de
icon Systemhaus GmbH                Tel. +49 711 806098-275
Sophienstraße 40                   
D-70178 Stuttgart                   Fax. +49 711 806098-299

Geschäftsführer: Uwe Seltmann
HRB Stuttgart 17655
USt-IdNr.: DE 811944121

 


Von: Kapila Kohli [mailto:[hidden email]]
Gesendet: Montag, 23. November 2009 12:20
An: [hidden email]
Betreff: How to generate hotfix builds/releases from hudson


Hello All,
 
 I am newbie to Hudson & currently trying to start with hudson for my java based project using Ant & CVS. Currently using cruisecontrol.
Seeking new features in  hudson for my requirement--   My biggest bottle neck is -Build/Release generation for Hot fixes which all go from Release branch very often i.e every alt day.I have to always maintain a code in local workspace or tag.

On every hotfix release , only a set of changed files/bugs go.Wondering if such feature is available in hudson where i can generate my hotfix builds on whenever required i.e
--Base version (LIVE code) + Bugs ( on daily basis) topped up


Advice from experts will add a help in my search.

thanks & regards

Reply | Threaded
Open this post in threaded view
|

AW: Re: How to generate hotfix builds/releases from hudson

Knuplesch, Juergen
Hello,
 
1. yes, I believe this is possible with ANT + Hudson.
I do almost the whole work with Ant. Hudson is just my build-trigger.
 
2.I dont think you can do this easy with Hudson. But maybe there are clever plugins that help.
 
Greetings Juergen
--
Jürgen Knuplesch   

Von: Kapila Kohli [mailto:[hidden email]]
Gesendet: Montag, 23. November 2009 13:03
An: [hidden email]
Betreff: Re: How to generate hotfix builds/releases from hudson

Thanks a lot Juergen  for such a prompt reply ..like hudson now :)

Well, yes that's the issue. creating s/w builds  is not an issue cruisecontrol is sufficing my needs. But deadlock comes in Hotfix releases.

but can you clear my  2 queries -

1) Can this be possible in hudson-
     We create  a local env (checkout from release branch )for every  major release & then generating hotfix releases/builds from Hudson by pop-u-locating new bugs handover over to QA then to LIVE?
  like LIVE code + bugs + bugs + bugs .....etc
on every successful build, create a package for that bug fix(pacakge creation can be easily done by script, any change here?)

2)Is there any way in hudson that we can store the base build.no which went LIVE for any major release
  & then whenever any bug fix has to go -we just set an env in hudson itself  i.e Base build no. + add bugs on that?

Regards
Kapila

On Mon, Nov 23, 2009 at 4:59 PM, Knuplesch, Juergen <[hidden email]> wrote:
Hello,
 
we have similar release strategy.
But my hotfixes I do not build using Hudson or any other tool, because we check every class manually, wheter it belongs to the fix or not.
 
But saying this I have two environments, where our product ist installed in a customer style version.
1.Every time we do a fix jar I put the fix into this environment and start all our tests using Hudson and Ant.
2.Every night the relese candidates are created and tested automatically in the other environment. So I find compile errors and other failures much faster.
 
But this means a lot of work for you (as it was for me):
 
You have to do sth. like the following steps:
1.You have to create a "customer" installation on your build machine
2. You create the fix by compiling against this environment.
3.You put the fix into this env.
4.You run tests etc.
5. If everythings fine you deploy the fix
 
Greetings Juergen

--
Jürgen Knuplesch                    www.icongmbh.de
icon Systemhaus GmbH                Tel. +49 711 806098-275
Sophienstraße 40                   
D-70178 Stuttgart                   Fax. +49 711 806098-299

Geschäftsführer: Uwe Seltmann
HRB Stuttgart 17655
USt-IdNr.: DE 811944121

 


Von: Kapila Kohli [mailto:[hidden email]]
Gesendet: Montag, 23. November 2009 12:20
An: [hidden email]
Betreff: How to generate hotfix builds/releases from hudson


Hello All,
 
 I am newbie to Hudson & currently trying to start with hudson for my java based project using Ant & CVS. Currently using cruisecontrol.
Seeking new features in  hudson for my requirement--   My biggest bottle neck is -Build/Release generation for Hot fixes which all go from Release branch very often i.e every alt day.I have to always maintain a code in local workspace or tag.

On every hotfix release , only a set of changed files/bugs go.Wondering if such feature is available in hudson where i can generate my hotfix builds on whenever required i.e
--Base version (LIVE code) + Bugs ( on daily basis) topped up


Advice from experts will add a help in my search.

thanks & regards

Reply | Threaded
Open this post in threaded view
|

Re: Re: How to generate hotfix builds/releases from hudson

Kapila Kohli
wow! that's gr8.
So how to populate bugs on the local code ?
   use script to get the update  code from the respective bugid? Can we pass a bugid in a build or we have to manually tag the files in a bug & then update our code. etc etc.

What's the approach you guys follow?

Above all , i really appreciate Juergen & this forum for giving such an active discussion:)

regards
kapila

On Mon, Nov 23, 2009 at 8:55 PM, Knuplesch, Juergen <[hidden email]> wrote:
Hello,
 
1. yes, I believe this is possible with ANT + Hudson.
I do almost the whole work with Ant. Hudson is just my build-trigger.
 
2.I dont think you can do this easy with Hudson. But maybe there are clever plugins that help.
 
Greetings Juergen
--
Jürgen Knuplesch   

Von: Kapila Kohli [mailto:[hidden email]]
Gesendet: Montag, 23. November 2009 13:03Betreff: Re: How to generate hotfix builds/releases from hudson

Thanks a lot Juergen  for such a prompt reply ..like hudson now :)

Well, yes that's the issue. creating s/w builds  is not an issue cruisecontrol is sufficing my needs. But deadlock comes in Hotfix releases.

but can you clear my  2 queries -

1) Can this be possible in hudson-
     We create  a local env (checkout from release branch )for every  major release & then generating hotfix releases/builds from Hudson by pop-u-locating new bugs handover over to QA then to LIVE?
  like LIVE code + bugs + bugs + bugs .....etc
on every successful build, create a package for that bug fix(pacakge creation can be easily done by script, any change here?)

2)Is there any way in hudson that we can store the base build.no which went LIVE for any major release
  & then whenever any bug fix has to go -we just set an env in hudson itself  i.e Base build no. + add bugs on that?

Regards
Kapila

On Mon, Nov 23, 2009 at 4:59 PM, Knuplesch, Juergen <[hidden email]> wrote:
Hello,
 
we have similar release strategy.
But my hotfixes I do not build using Hudson or any other tool, because we check every class manually, wheter it belongs to the fix or not.
 
But saying this I have two environments, where our product ist installed in a customer style version.
1.Every time we do a fix jar I put the fix into this environment and start all our tests using Hudson and Ant.
2.Every night the relese candidates are created and tested automatically in the other environment. So I find compile errors and other failures much faster.
 
But this means a lot of work for you (as it was for me):
 
You have to do sth. like the following steps:
1.You have to create a "customer" installation on your build machine
2. You create the fix by compiling against this environment.
3.You put the fix into this env.
4.You run tests etc.
5. If everythings fine you deploy the fix
 
Greetings Juergen

--
Jürgen Knuplesch                    www.icongmbh.de
icon Systemhaus GmbH                Tel. +49 711 806098-275
Sophienstraße 40                   
D-70178 Stuttgart                   Fax. +49 711 806098-299

Geschäftsführer: Uwe Seltmann
HRB Stuttgart 17655
USt-IdNr.: DE 811944121

 


Von: Kapila Kohli [mailto:[hidden email]]
Gesendet: Montag, 23. November 2009 12:20
An: [hidden email]
Betreff: How to generate hotfix builds/releases from hudson


Hello All,
 
 I am newbie to Hudson & currently trying to start with hudson for my java based project using Ant & CVS. Currently using cruisecontrol.
Seeking new features in  hudson for my requirement--   My biggest bottle neck is -Build/Release generation for Hot fixes which all go from Release branch very often i.e every alt day.I have to always maintain a code in local workspace or tag.

On every hotfix release , only a set of changed files/bugs go.Wondering if such feature is available in hudson where i can generate my hotfix builds on whenever required i.e
--Base version (LIVE code) + Bugs ( on daily basis) topped up


Advice from experts will add a help in my search.

thanks & regards