continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Schettl <denis.sche...@hzd.hessen.de>
Subject Re: How to : add pre-build/post build tasks?
Date Mon, 23 Feb 2009 12:22:36 GMT


veeseekay wrote:
> 
> 1) source code check out
> 2) change properties, etc files in the code.(first task)
> 3) build
> 4) copy all the jars to a deployable location(another task here)
> 5) run junit tests.
> 

Hi,
change your maven project in using profiles. There you define different
properites for development and e.g. continuum. Then you change the
source-code (property-files, file-content). Test different versions with
"-Pxxx" with xxx for the profile-name and check the results.
THEN definie in Continuum the build with parameter "-Pxxx" for Continuum ...

So long ....
Denis
-- 
View this message in context: http://www.nabble.com/How-to-%3A-add-pre-build-post-build-tasks--tp22158970p22160540.html
Sent from the Continuum - Users mailing list archive at Nabble.com.


Mime
View raw message