It's all about the answers!

Ask a question

Customizing RTC accepting process from Jenkins


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

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.

com.ibm.team.build.internal.scm.SourceControlUtility;

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

acceptReport = SourceControlUtility.acceptAllIncoming(
        this.fRepositoryManager, workspace, buildConfiguration.getSnapshotName(),
        monitor.newChild(40));

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

Thanks,
Krishna

One answer



permanent link
sam detweiler (12.5k6195201) | 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.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.