package org.jenkinsci.plugins.p4.scm; import jenkins.scm.api.SCMHead; import org.jenkinsci.plugins.p4.PerforceScm; import org.jenkinsci.plugins.p4.changes.P4Ref; public class P4SCMHead extends SCMHead { private final P4Path path; public P4SCMHead(String name, P4Path path) { super(name); this.path = path; } public P4Path getPath() { return path; } @Override public String toString() { return "P4SCMHead: " + getName() + " (" + path + ")"; } public PerforceScm getScm(AbstractP4ScmSource source, P4Path path, P4Ref revision) { return new PerforceScm(source, path, revision); } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#4 | 24671 | Paul Allen |
Added backwards support for old XML data. Class rename in 1.9.0 would prevent processing of old build data. JENKINS-53870 |
||
#3 | 24662 | Paul Allen |
Undo *SCMSource rename to original *ScmSource. Reslove configuration loading issue due to 1.9.0 bad release. |
||
#2 | 24504 | Paul Allen |
Tree walter for BranchSCMSource Events. On a change-submit event use the change number and grab a submitted file. Walk up the path looking for a Jenkinsfile, then derive 'Project' path, 'Branch' name and 'Path' for the SCMHead/Revision. This assumes that the Jenkinsfile is in the route of your projects. Alternatively use the Swarm Event and pass your own 'Project', 'Branch' and 'Path'. |
||
#1 | 24501 | Paul Allen | Refactor to use P4SCMXxx naming convention. | ||
//guest/perforce_software/p4jenkins/main/src/main/java/org/jenkinsci/plugins/p4/scm/P4Head.java | |||||
#7 | 24497 | Paul Allen |
Force use of revision for Head. Update P4Head->P4Path revision with P4Revision to avoid builds on unbounded 'latest'. |
||
#6 | 24492 | Paul Allen |
Initial work for MultiBranch Event trigger. JENKINS-52066 (Triggered Events and not Polling per change) |
||
#5 | 24454 | Paul Allen |
Exclude and Include mapping support. Refactored P4Path usage and added P4SwarmPath. JENKINS-49804 |
||
#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 | 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 |
||
#1 | 21758 | Paul Allen |
Merge pull request #38 from jenkinsci/dev scm-api 2.0.2 updates |