package org.jenkinsci.plugins.p4.scm; import jenkins.scm.api.SCMHead; import jenkins.scm.api.mixin.ChangeRequestSCMHead; public class P4ChangeRequestSCMHead extends P4Head implements ChangeRequestSCMHead { private static final long serialVersionUID = 1L; private final SCMHead target; private final String review; P4ChangeRequestSCMHead(String name, String review, P4Path path, SCMHead target) { super(name, path); this.target = target; this.review = review; } @Override public String getId() { return getName(); } public String getReview() { return review; } /** * Branch to which this change would be merged or applied if it were accepted. * * @return a “target” or “base” branch */ @Override public SCMHead getTarget() { return target; } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 24478 | Paul Allen |
Merging using p4-jenkins_main>dev @24454 |
||
#1 | 23685 | Paul Allen | Copy main -> dev | ||
//guest/perforce_software/p4jenkins/main/src/main/java/org/jenkinsci/plugins/p4/scm/P4ChangeRequestSCMHead.java | |||||
#4 | 22875 | Paul Allen | Refactor P4Path and Swarm API | ||
#3 | 22678 | Paul Allen |
MultiBranch support for Helix4Git (GitHub PR model). Update MultiBranch product names to Helix. |
||
#2 | 22532 | Paul Allen |
Return empty list on error for listRepos() JENKINS-45420 |
||
#1 | 22396 | Paul Allen |
MultiBranch support for Perforce Swarm Reviews. A work in progress - adds Swarm API support to find branches and reviews from a Swarm project. #review-22354 |