1

I have a development view, which is linked to a development stream, which delivers to an integration stream.

What is the best way to find the integration stream using console commands ?

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
andy meissner
  • 1,202
  • 5
  • 15

2 Answers2

1

You could use a fmt_ccase query with cleartool describe, by looking at the UCM project:

cleartool descr -fmt "%[istream]Xp" project:myProject@\myPVob

If you don't have the project name ready, you can:

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • I love asking questions on ClearCase because you always get an answer ;) Thank you very much, I will try it ASAP – andy meissner Aug 31 '20 at 13:01
  • @andymeissner Did you make it work? What kind of script did you write? – VonC Sep 01 '20 at 12:37
  • In this case, I only wondered how to do this using CLI, because else I looked up the Integrationsstream in the CC-Explorer. Maybe for future usage ^^ – andy meissner Sep 01 '20 at 12:56
  • Generally I'm learning CC, because I have to update (and maintain from dev side), then restructure it for performance and in the long term replace it with git and tooling – andy meissner Sep 01 '20 at 12:58
  • So to conclude I'm writing multiple scripts for measuring performance, checking stuff etc. – andy meissner Sep 01 '20 at 12:59
  • And yes it did work I only had to add the 'project'-modifier like this: `cleartool descr -fmt "%[istream]Xp" project:MyProject@\myPVob` – andy meissner Sep 01 '20 at 13:07
  • @andymeissner Good point. I have edited the answer accordingly. – VonC Sep 01 '20 at 13:18
1

If you CD or set into your view, cleartool lsstream -long -cview should tell you your default deliver target, which is usually the integration stream. If it's not, you can get the information from the project listed or by looking at the default deliver target...

Brian Cowan
  • 1,048
  • 6
  • 7