blue-sky
blue-sky

Reputation: 53836

Rule to ensure developer runs private build & it compiles prior to delivering - RTC source control

Before a developer delivers any code to a change set is it possible to ensure the developer runs a private build and if the build fails the developer will be unable to deliver the change set to the stream. Something similar to how if there are compilation errors a code change cannot be delivered ?

Upvotes: 1

Views: 119

Answers (1)

VonC
VonC

Reputation: 1325966

In ClearCase, you could had a pre-op hook to enforce some policy at the start of a deliver

It is possible to add hooks in the Team Configuration / Operation Behavior / Source Control / Deliver (client) section.
But I wouldn't recommend that approach.

I would rather use the Automated Builds described in the "Multiple-Stream Development" article.
That would be a "Post-build Deliver" step to the build definition.

You can even auto-deliver any changeset that has successfully build from the "build" Stream to another Stream.

The article "How to keep your streams flowing smoothly in Rational Team Concert 3.0.1" has more on that approach.

Upvotes: 2

Related Questions