Question

I want to know if I can select components from a stream selector in ClearCase?

Because I have job in Jenkins who use this stream selector but when he start the job he download all the components from the stream selector, but I just want 3 components from this stream selector who contains 6 components.

How would you load only those 3 components out of 6 in a Jenkins ClearCase job?

Was it helpful?

Solution

The Jenkins UCM plugin itself doesn't allow much control:

https://wiki.jenkins-ci.org/download/attachments/58001105/modules_smaller.png?version=2&modificationDate=1319721394000

In general build performance is also much better in snapshot views that are hosted by the clients native file system - once they are loaded.

You have a small handle of control of what load-rules are applied to the snapshot views; Either you load all the components or only the modifiable ones.

We us a separate view per job, per client, which allows us to reuse views in a context the only changes very little between builds. Thus you will find that once you have loaded the view the first time, the successive updates will be very fast, since deltas are guaranteed to be small.

If you are using the simpler Jenkins ClearCase plugin, then you can specify the exact load rules you want:

https://wiki.jenkins-ci.org/download/attachments/2916537/base_configuration.png?version=1&modificationDate=1391964920000

So I would recommend the second approach, in which you cal list the exact folders, corresponding to the root directories of the 3 components you want to load.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top