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

Checking in a file at completion of a build... mixing JBT an

We're using the Jazz Build Toolkit for builds. For a particular set of
builds, at the completion of the build we want to check-in a file. My
initial thought was that we could simply use the scm tool to accomplish
this, but after playing around we can't seem to get it to work and I'm
wondering if it has something to do with the fact that we're trying to
use the "fetched to" directory as an RTC workspace for the scm tool, and
perhaps this is not valid.

So here's the steps:
- JBT is used to startTeamBuild, teamAccept, teamFetch (to location
BUILD_ROOT), (build), completeTeamBuild
- So, at this point we have BUILD_ROOT that contains our extracted and
built source. We now want to check in one of the files generated by the
build

How can I accomplish this with teh scm tool. Can I somehow use my
BUILD_ROOT as a local RTC workspace, and invoke scm commands to
accomplish this?

I also thought about the JBT artifactFilePublisher, but we want the
resulting file to be stored under version control with the rest of the
source.

Brian

0 votes



One answer

Permanent link
If you're using 1.x, then you won't be able to check in from a build workspace fetched with the Ant tasks or SCM build participant.

If you are using 2.x, then you should be able to check in as usual. Note that checking in probably isn't enough - you'll want to deliver as well. See https://jazz.net/wiki/bin/view/Main/SCMUsingTheCliInBuilds for a brief outline of using the CLI in builds. It's the basis of an article that should be out in a week or two.

e

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: Jun 19 '09, 4:01 p.m.

Question was seen: 4,064 times

Last updated: Jun 19 '09, 4:01 p.m.

Confirmation Cancel Confirm