package org.jenkinsci.plugins.p4.browsers; import java.net.URL; import org.jenkinsci.plugins.p4.changes.P4ChangeEntry; import com.perforce.p4java.core.file.IFileSpec; import hudson.scm.RepositoryBrowser; public abstract class P4Browser extends RepositoryBrowser<P4ChangeEntry> { private static final long serialVersionUID = 1L; /** * Determines the link to the diff between the version. * * @return null if the browser doesn't have any URL for diff. */ public abstract URL getDiffLink(IFileSpec file) throws Exception; /** * Determines the link to a single file under Perforce. This page should * display all the past revisions of this file, etc. * * @return null if the browser doesn't have any suitable URL. */ public abstract URL getFileLink(IFileSpec file) throws Exception; public abstract URL getJobLink(String job) throws Exception; }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#7 | 24698 | Paul Allen | Fix for the revision number used by Swarm and other browsers. | ||
#6 | 22372 | Paul Allen |
Update Repository Browser for use with Pipeline. May fix the following: JENKINS-43069 JENKINS-37094 |
||
#5 | 22128 | Paul Allen |
Helix Graph support for Jenkins. JENKINS-40354 |
||
#4 | 20179 | Paul Allen | Javadoc fixes for java 8 builds. | ||
#3 | 19593 | Paul Allen | More minor fixes to satisfy FindBugs Analysis. | ||
#2 | 16409 | Paul Allen |
Use Fix records for Job information. 'p4 fixes' is lighter and still provides enough useful data. Includes jelly fix and extra job data in changelog.xml. |
||
#1 | 9690 | Paul Allen |
[Branching using p4-jenkins] Release 1.0.1 |
||
//guest/paul_allen/dev/p4-jenkins/p4-client/src/main/java/org/jenkinsci/plugins/p4/browsers/P4Browser.java | |||||
#1 | 9672 | Paul Allen | Refactor name from 'p4_client' to 'p4'. | ||
//guest/paul_allen/dev/p4-jenkins/p4-client/src/main/java/org/jenkinsci/plugins/p4_client/browsers/P4Browser.java | |||||
#1 | 8915 | Paul Allen |
Support for ChangeLog and RepoBrowser. - Added RepoBrowser for Swarm (porting the others should be easy) - ChangeLog XML file now only stores the changelist number all other information is fetched from Perforce |