It's all about the answers!

Ask a question

Creating a published artefact based on a baseline


g k (17148) | asked May 20 '13, 8:02 p.m.
 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

Comments
Ralph Schoon commented May 21 '13, 8:17 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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


g k commented May 21 '13, 4:44 p.m. | edited May 21 '13, 4:52 p.m.

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


g k commented May 23 '13, 10:10 p.m.

Any suggestions? 

Accepted answer


permanent link
Ralph Schoon (63.4k33646) | answered May 24 '13, 3:18 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited May 24 '13, 3:21 a.m.
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

Your answer


Register or 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.