It's all about the answers!

Ask a question

Chaining up Builds


Thomassian Guillaume (411) | asked May 10 '10, 9:30 a.m.
How can I chain up actions in order to get successive builds, like we can have with TeamCity or Hudson ?

Here's the process i'd like to execute
1-Continuous build (i already have this build working)
2-on build success, copy sources on a remote filesystem
3-on copy success, call a remote batch by url invocation

Any help would be appreciated !

17 answers



permanent link
Thomassian Guillaume (411) | answered May 18 '10, 10:38 a.m.
OK, it works now ! Thanks a lot !

Seems to me the problem was the 'requestUUIDProperty' parameter name (i chose 'requestUUID' first).

With requestUUIDProperty="MyRequestUUID"
it works !

Now, i have another difficulty with ClearcaseConnector.

I want to copy the source sfrom Clearcase to RTC with the CConnector, and then have different generations executed on the sources coming from clearcase (without merging enything from RTC repository).

The idea is to get the sources from the 'CLONE_workspace', but i don't know how to extract the sources from this workspace, to a local directory, through a specific generation.

Can someone help ?

Regards,

Guillaume

permanent link
Nick Edgar (6.5k711) | answered May 18 '10, 11:01 a.m.
JAZZ DEVELOPER
> Seems to me the problem was the 'requestUUIDProperty' parameter name (i chose 'requestUUID' first).

Ah, silly me for not noticing this. JBE sets the requestUUID property (for the original build), and Ant allows a property to be set at most once. So basically it was blocked waiting for itself.
It may have been possible to discover this by adding -verbose as a command line arg to Ant.

For the ClearCase Connector issue, you can load the contents of an arbitrary workspace using the teamFetch task. e.g.
<teamFetch workspaceName="CLONE_workspace" destination="c:\fetched" repositoryAddress="${repositoryAddress}" userId="${userId}" passwordFile="${passwordFile}"/>

Regards,
Nick

permanent link
Thomassian Guillaume (411) | answered May 19 '10, 3:44 a.m.

For the ClearCase Connector issue, you can load the contents of an arbitrary workspace using the teamFetch task. e.g.
<teamFetch>


Thanks a lot, i can do exactly what i was looking for !
=>Clearcase Synchronisation
=>Source Extraction
=>Project code quality Analysis

permanent link
Nick Edgar (6.5k711) | answered May 19 '10, 10:39 a.m.
JAZZ DEVELOPER
Excellent! Good to hear. Mind if I ask what you're using for code QA?

permanent link
Nick Edgar (6.5k711) | answered May 19 '10, 10:41 a.m.
JAZZ DEVELOPER
Another way to structure things for loading from ClearCase is to add the sync workspace as a target of the build workspace. That way, changes from the sync workspace will be accepted into the build workspace, and will be included in the build snapshot. Also, JBE will take care of the load then, and you won't need to use teamFetch in the script.

permanent link
Thomassian Guillaume (411) | answered May 19 '10, 10:43 a.m.
Excellent! Good to hear. Mind if I ask what you're using for code QA?


Well, we're prototyping a solution based on Compuware's CAQS portal... Do you know this product ?

permanent link
Nick Edgar (6.5k711) | answered May 19 '10, 10:57 a.m.
JAZZ DEVELOPER
No, I wasn't aware of that one. I do know that Rational Software Analyzer integrates with RTC though for showing results in the build editor, process preconditions for ensuring checks are green before delivering changes, etc.

http://www-01.ibm.com/software/awdtools/swanalyzer/developer/index.html

Your answer


Register or 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.