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

StackOverflow https://stackoverflow.com/questions/10212180

  •  01-06-2021
  •  | 
  •  

문제

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 ?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top