It's all about the answers!

Ask a question

Build Question: Invoking a Ant script from SCM


Aaron Cohen (8207751) | asked Mar 20 '08, 9:36 a.m.
JAZZ DEVELOPER
When creating a Build definition, you need to specify the path to an Ant
build file on the build machine. Is there a way to point to an Ant
script in SCM instead of the local filesystem?

Thanks!

One answer



permanent link
Jean-Michel Lemieux (2.5k11) | answered Mar 20 '08, 9:53 a.m.
JAZZ DEVELOPER
Absolutely. After you've configured the build fetch destination on the Jazz SCM page you then configure on Ant page the location of the fetched build file. For example:

/home/builds/sandbox (this is the fetch destination in which the files will be loaded from Jazz SCM)

/home/builds/sandbox/releng/build.xml (this is the actual build file, it's store in a project called releng and is in the Jazz repository)

Jean-Michel Lemieux
Jazz Source Control Team

Your answer


Register or to post your answer.