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

Build - FAQs

Just wondering if anyone has suggestions or advice on the below topic...
I need to be able to ...
1. be able to run multiple UNIX commands in the "Command" field in the Jazz Build Definition. Example: "cmd1; cmd2", "cmd1||cmd2", "cmd1&&cmd2",etc.
2. be able to use an UNIX local workspace in the Jazz Build Definition. In this case, no fetch is needed.
3. Every time when "Request Build" from Windows with windows workspace and the BuildEngine runs in the UNIX env, the Jazz buildengine fetches all the files from RTC repository. I would like the following changes:
fetch only modified files.
be able to change directories and file permission to "775" or "755" before build, so some files can be executed during the build.

0 votes



One answer

Permanent link
On 2010/12/29 13:38, akhataei wrote:
1. be able to run multiple UNIX commands in the "Command"
field in the Jazz Build Definition. Example: "cmd1; cmd2",
"cmd1||cmd2", "cmd1&&cmd2", etc.

Put the commands in a script and have the build definition call the script.

2. be able to use an UNIX local workspace in the Jazz Build
Definition. In this case, no fetch is needed.

Configure the build definition to not fetch anything. If other parts of
the build definition or your build scripts need to know where the local
workspace is located, define a property in the build engine that points
to the local workspace.

(I don't know if it is possible to take a build definition that fetches
a workspace and change it to not fetch anything. I don't see an obvious
way to do that. You may have to create a whole new build definition.)

3. Every time when "Request Build" from Windows with windows
workspace and the BuildEngine runs in the UNIX env, the Jazz
buildengine fetches all the files from RTC repository. I would like
the following changes:
* fetch only modified files.

If you reuse the same location for the local copy of the workspace and
don't delete the local workspace before each build, then only the new
and modified files will be fetched. Unchanged files will be left alone.

* be able to change directories and file permission to
"775" or "755" before build, so some files can be
executed during the build.

Put a chmod command near the beginning of your build script. I don't
know of a reliable way of getting RTC to do this for you.

--
David Olsen
IBM Rational

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: Dec 29 '10, 4:38 p.m.

Question was seen: 4,780 times

Last updated: Dec 29 '10, 4:38 p.m.

Confirmation Cancel Confirm