package org.jenkinsci.plugins.p4.scm; import jenkins.scm.api.SCMHead; import jenkins.scm.api.mixin.ChangeRequestSCMHead; public class P4GraphRequestSCMHead extends P4SCMHead implements ChangeRequestSCMHead { private static final long serialVersionUID = 1L; private final SCMHead target; private final String repo; private final String branch; P4GraphRequestSCMHead(String name, String repo, String branch, P4Path path, SCMHead target) { super(name, path); this.target = target; this.repo = repo; this.branch = branch; } @Override public String getId() { return getName(); } public String getRepo() { return repo; } public String getBranch() { return branch; } /** * 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 | |
---|---|---|---|---|---|
#6 | 30142 | Sandeep Kumar |
Merge pull request #[202] from [master/RevertChanges] Revert Gradle Changes |
||
#5 | 30083 | Sandeep Kumar |
Merge pull request #[199] from [jenkinsci/BuildUsingGradle] Chnage build tool from maven to gradle |
||
#4 | 24501 | Paul Allen | Refactor to use P4SCMXxx naming convention. | ||
#3 | 24454 | Paul Allen |
Exclude and Include mapping support. Refactored P4Path usage and added P4SwarmPath. JENKINS-49804 |
||
#2 | 22875 | Paul Allen | Refactor P4Path and Swarm API | ||
#1 | 22678 | Paul Allen |
MultiBranch support for Helix4Git (GitHub PR model). Update MultiBranch product names to Helix. |