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

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

0 votes



5 answers

Permanent link
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.

0 votes


Permanent link
Thanks Ryan

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.

0 votes


Permanent link
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:
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.

0 votes


Permanent link
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.

0 votes


Permanent link
OK, I get now ... I need to replace the existing jar

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.

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

Question asked: Nov 19 '07, 9:08 p.m.

Question was seen: 7,971 times

Last updated: Nov 19 '07, 9:08 p.m.

Confirmation Cancel Confirm