1

I am trying to download the latest Baseline code with Base ClearCase and UCM ClearCase plugin in Jenkins. But both plugin supports only Foundation Baseline to download.

Is there any way I can get the Latest Baseline Code from ClearCase through the same Base ClearCase plugin or else I need to know how I can do a rebase from Jenkins?

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
Java_Sol
  • 83
  • 6

1 Answers1

0

I need to know how I can do a rebase from Jenkins ?

With a classic cleartool rebase, as you did before in August.
You would call that command from a build step in your job, in order to update the ClearCase view Jenkins workspace set by Jenkins (initially to a foundation baseline, which is not what you want)

But any rebase would only work if the stream selected in the Jenkins UCM plugin is an Integration one (the first of an UCM project). If it was a development or build one (ie a children of the main Integration stream), you might rebase only baseline from the immediate parent.

If you are on an Integration stream, then you can list all the baselines of a component: see "List the latest baseline of a component".
Then, if the latest one is not the current one (see "can't read the foundation baselines?"), you would perform the rebase.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250