Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes



One answer

Permanent link
I think it would be easier just to have a separate stream, and only deliver selected change sets into that stream.


0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,927

Question asked: Apr 06 '15, 5:30 a.m.

Question was seen: 2,919 times

Last updated: Apr 06 '15, 6:59 a.m.

Confirmation Cancel Confirm