Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Build Configuration Elements - Order of Execution

I have created a new pre-build configuration element to perform some verification tasks before a build is executed. My question is, is the order of pre-build task execution consistent? From my experimentation they always get executed in the order they are defined in my plugin.xml.


<buildDefinitionTemplate>
<buildConfigurationElement>
</buildConfigurationElement>
<buildConfigurationElement>
</buildConfigurationElement>
<buildConfigurationElement>
</buildConfigurationElement>
<buildConfigurationElement>
</buildConfigurationElement>
<availableBuildConfigurationElement>
</availableBuildConfigurationElement>
<availableBuildConfigurationElement>
</availableBuildConfigurationElement>
</buildDefinitionTemplate>


Can I safely assume this will always be the case?

Thanks,
-Dave

0 votes



2 answers

Permanent link
The order of phases is: PRE_BUILD, BUILD, POST_BUILD. Within each phase, the participants corresponding to the configurations are executed in order. Note that users may customize the order (for a given phase), either in the build definition wizard when creating the definition, or afterwards by choosing Edit Configuration in the context menu in the header of the build definition editor.

0 votes


Permanent link
The order of phases is: PRE_BUILD, BUILD, POST_BUILD. Within each phase, the participants corresponding to the configurations are executed in order. Note that users may customize the order (for a given phase), either in the build definition wizard when creating the definition, or afterwards by choosing Edit Configuration in the context menu in the header of the build definition editor.



Thanks,

That makes sense. I missed that you could set the order while creating the definition with the 'Move Up' and 'Move Down' buttons.

-Dave

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Apr 28 '10, 11:50 a.m.

Question was seen: 5,312 times

Last updated: Apr 28 '10, 11:50 a.m.

Confirmation Cancel Confirm