Customizing RTC accepting process from Jenkins
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
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