package org.jenkinsci.plugins.p4.publish; import hudson.DescriptorExtensionList; import hudson.ExtensionPoint; import hudson.model.Describable; import java.io.Serializable; import jenkins.model.Jenkins; public abstract class Publish implements ExtensionPoint, Describable<Publish>, Serializable { private static final long serialVersionUID = 1L; private final String description; private String expandedDesc; public String getDescription() { return description; } public Publish(String description) { this.description = description; } public PublishDescriptor getDescriptor() { return (PublishDescriptor) Jenkins.getInstance().getDescriptor( getClass()); } public static DescriptorExtensionList<Publish, PublishDescriptor> all() { return Jenkins.getInstance() .<Publish, PublishDescriptor> getDescriptorList(Publish.class); } public String getExpandedDesc() { return expandedDesc; } public void setExpandedDesc(String expandedDesc) { this.expandedDesc = expandedDesc; } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 11628 | Paul Allen | Branching using p4-jenkins-R1.1 | ||
//guest/perforce_software/p4jenkins/main/src/main/java/org/jenkinsci/plugins/p4/publish/Publish.java | |||||
#2 | 11334 | Paul Allen |
Remote slave support for Publish Perforce Publish commands need to be executed from the remote slave. - Includes refactoring into task package |
||
#1 | 11231 | Paul Allen |
Publish assets to Perforce. New feature to allow Jenkins to shelve or submit the build result to Perforce. Configured as a Post Build Step, the Perforce credential and workspace are required as the asset could be published to a different Perforce instance. |