Alex Boisvert a écrit :
Yes, I understand the "package" goal is a superset of the "compile";  I
mostly wanted to understand why I didn't see it happening.   Thanks for
your clarification.

Are you saying that if the build definitions were set on different
schedules the behavior would be different?

yes.
Actually, a changes check is done between two build, so if you don't have changes between two schedules, the second won't be run. We'll fix it in 1.0.3, We'll check if projects has been modified since the latest execution of current build definition.


Let's say I have a goal "package" run every hour and a goal "release"
run every day.  Would "release" happen if it is run after "package"?  Or
should I set up two different projects for this?

"release will be run if you have changes in your scm since latest build of 
"package".

Emmanuel


alex



Emmanuel Venisse wrote:


I don't understand why you set 2 build definitions for the same
schedule. It will be more logic to delete the second (compile) because
it's included in package phase.

As you have 2 build definitions on the same schedule, continuum run
them separatly. In your case it run compile definition first, and when
it try to run package definition, scm update return no changes, so
continuum doesn't do the build.

Emmanuel

Alex Boisvert a écrit :


Hi,

I'm using continuum 1.0.2 and I've defined two goals for a Maven2
project:


     Build Definitions

Goals Arguments POM File Profile Schedule From package --batch-mode pom.xml DEFAULT DEFAULT_SCHEDULE Project Edit
<http://release.intalio.com:9999/continuum/servlet/continuum/target/BuildDefinition.vm/view/BuildDefinition/buildDefinitionId/11/id/11>

| Delete
<http://release.intalio.com:9999/continuum/servlet/continuum/target/DeleteBuildDefinition.vm/buildDefinitionId/11/id/11/executorId/maven2>


compile --batch-mode pom.xml DEFAULT DEFAULT_SCHEDULE Project Edit
<http://release.intalio.com:9999/continuum/servlet/continuum/target/BuildDefinition.vm/view/BuildDefinition/buildDefinitionId/51/id/11>

| Delete
<http://release.intalio.com:9999/continuum/servlet/continuum/target/DeleteBuildDefinition.vm/buildDefinitionId/51/id/11/executorId/maven2>




I've discovered today that only the second goal (compile) gets run every
hour (DEFAULT_SCHEDULE).  The first goal (package; which is flagged as
default) only executes if I trigger the build manually.

Is this normal?

alex








Reply via email to