Question about Builds using cmd-line
How does a cmd-line build get the source code to be built ??
I'm looking for the place where I tell Jazz that my command-line build
requires a certain stream/baseline.
Perhaps cmd-line build scripts must get their own source, so that begs
the question, how can a script or program ask the Jazz SCM to deliver
some source ??
Cheers
I'm looking for the place where I tell Jazz that my command-line build
requires a certain stream/baseline.
Perhaps cmd-line build scripts must get their own source, so that begs
the question, how can a script or program ask the Jazz SCM to deliver
some source ??
Cheers
5 answers
If you are using M3, you can apply the attached patch to get a "Jazz SCM"
page in the build definition editor (you'll need to create a new cmd line
build to see it).
This is fixed in M4.
Close Team Concert and replace the jar at
\jazz\client\eclipse\jazz\jtd\eclipse\plugins\com.ibm.team.build.common_0.5.0.I20071006-1336.jar
Be sure to add a -clean argument when you relaunch Team Concert. Otherwise,
the patch may not be recognized.
Once you put the new jar in place, you should then be able to create a
"Command line with Jazz SCM" build definition.
On the Jazz SCM page, select a workspace and fetch destination.
page in the build definition editor (you'll need to create a new cmd line
build to see it).
This is fixed in M4.
Close Team Concert and replace the jar at
\jazz\client\eclipse\jazz\jtd\eclipse\plugins\com.ibm.team.build.common_0.5.0.I20071006-1336.jar
Be sure to add a -clean argument when you relaunch Team Concert. Otherwise,
the patch may not be recognized.
Once you put the new jar in place, you should then be able to create a
"Command line with Jazz SCM" build definition.
On the Jazz SCM page, select a workspace and fetch destination.
Thanks Ryan
Yes, I'm using M3 so I'll give the patch a try
regards
Ryan Manwiller wrote:
Yes, I'm using M3 so I'll give the patch a try
regards
Ryan Manwiller wrote:
If you are using M3, you can apply the attached patch to get a "Jazz
SCM" page in the build definition editor (you'll need to create a new
cmd line build to see it).
This is fixed in M4.
Close Team Concert and replace the jar at
\jazz\client\eclipse\jazz\jtd\eclipse\plugins\com.ibm.team.build.common_0.5.0.I20071006-1336.jar
Be sure to add a -clean argument when you relaunch Team Concert.
Otherwise, the patch may not be recognized.
Once you put the new jar in place, you should then be able to create a
"Command line with Jazz SCM" build definition.
On the Jazz SCM page, select a workspace and fetch destination.
On closer inspection, I'm actually running 0.6M3a and my current jar
file looks like:
com.ibm.team.build.common_0.5.0.I20071012-2004.jar
So, I tried renaming the above, and dropping the attached replacement
into the same directory. Restarting RTC -clean didn't seem to offer any
new Build options.
Is there an 0.6M3a jar file ?
Ryan Manwiller wrote:
file looks like:
com.ibm.team.build.common_0.5.0.I20071012-2004.jar
So, I tried renaming the above, and dropping the attached replacement
into the same directory. Restarting RTC -clean didn't seem to offer any
new Build options.
Is there an 0.6M3a jar file ?
Ryan Manwiller wrote:
If you are using M3, you can apply the attached patch to get a "Jazz
SCM" page in the build definition editor (you'll need to create a new
cmd line build to see it).
This is fixed in M4.
Close Team Concert and replace the jar at
\jazz\client\eclipse\jazz\jtd\eclipse\plugins\com.ibm.team.build.common_0.5.0.I20071006-1336.jar
Be sure to add a -clean argument when you relaunch Team Concert.
Otherwise, the patch may not be recognized.
Once you put the new jar in place, you should then be able to create a
"Command line with Jazz SCM" build definition.
On the Jazz SCM page, select a workspace and fetch destination.
OK, I get now ... I need to replace the existing jar
Thanks
Ryan Manwiller wrote:
Thanks
Ryan Manwiller wrote:
The jar should work with M3a. As long as you renamed it so you are
replacing the existing jar and started the client with -clean, then you
should see a "Command line with Jazz SCM" option when you create a new
build definition.