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

Creating a published artefact based on a baseline

 Hi,

Very new to rtc so please bear with me.


Trying to create an ant script to product a published artefact based on oracle scripts a developer has checked in and delivered to team stream.

So I guess the build script would have to fetch the changsets and copy/publish them to a location for deployment.

Hope this makes sense

0 votes

Comments

Hi, in order to get an answer, please be more specific. I am not sure what the question/problem is, really. I can make some assumptions what you are asking for and what you want to do, but, in order to answer I'd need much more details

ok, to give more info.

The scenario is that a dev will manually create scripts (oracle) for a release, check this into repository workspace and deliver the changset to the release stream.

So I want to know is there any sample scripts I can use to copy (push) these changesets the dev has delivered and publish artefact for deployment teams can deploy.

Can I also can a release based on a baseline or does ant only recognise changesets?

 

thanks

Any suggestions? 


Accepted answer

Permanent link
Depending on your use case you have several options.

  1. You can use the Jazz Build engine to run a build to download the baseline and do more automation such as copy or other post processing. See the online help and search for "ant tasks" to find the available ones specific for RTC. You can search other available ANT tasks on the internet. You can look into the build provided with the JKE Banking/Money that matters sample shipped with CLM for how his works. https://jazz.net/library/article/807 and https://jazz.net/library/article/797 are good reading in this direction.
  2. You can use the SCM Command Line Interface to load a baseline to disk and then work with the result. Search for CLI in the online help to see the available commands.
  3. Of course the users of the data themselves could have a repo workspace that flows with the stream and download the baseline manually too.

I don't think there are examples for your your specific case, but there are for sure enough general examples on this site.

See https://jazz.net/library/#tag=source%20control for all articles related to SCM, especially https://jazz.net/library/article/1031 .


Hope this helps.

g k selected this answer as the correct answer

1 vote

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: May 20 '13, 8:02 p.m.

Question was seen: 3,490 times

Last updated: May 24 '13, 3:21 a.m.

Confirmation Cancel Confirm