It's all about the answers!

Ask a question

Customizing RTC accepting process from Jenkins

Krishnakumar Gurumurthy (867) | asked Apr 06 '15, 5:30 a.m.

We have integrated RTC with Jenkins. We have a requirement where we want the build system to accept only specific changes. We found the Jenkins /RTC plugin uses the below API to detect and accept changes.;

AcceptReport report = SourceControlUtility.checkForIncoming(this.fRepositoryManager, workspace, monitor.newChild(80));

acceptReport = SourceControlUtility.acceptAllIncoming(
        this.fRepositoryManager, workspace, buildConfiguration.getSnapshotName(),

Is there any API available in the class SourceControlUtility or any hook point available to achieve the above requirement ?


One answer

permanent link
sam detweiler (12.5k6191201) | answered Apr 06 '15, 6:59 a.m.
I think it would be easier just to have a separate stream, and only deliver selected change sets into that stream.

Your answer

Register or to post your answer.