Class BuildstashStep

java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
com.buildstash.BuildstashStep
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>, Serializable

public class BuildstashStep extends org.jenkinsci.plugins.workflow.steps.Step implements Serializable
Pipeline step for uploading build artifacts to Buildstash. This step can be used in Jenkins pipelines to upload files to the Buildstash service.
See Also:
  • Constructor Details

    • BuildstashStep

      @DataBoundConstructor public BuildstashStep()
  • Method Details

    • start

      public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
      Specified by:
      start in class org.jenkinsci.plugins.workflow.steps.Step
      Throws:
      Exception
    • getApiKey

      public Secret getApiKey()
    • setApiKey

      @DataBoundSetter public void setApiKey(String apiKey)
      Setter that accepts String and converts to Secret. This is the primary setter used by Jenkins pipeline scripts and forms.
    • setApiKey

      public void setApiKey(Secret apiKey)
      Setter that accepts Secret directly (for programmatic use). Note: This is NOT annotated with @DataBoundSetter to avoid DescribableModel trying to coerce String to Secret. Pipeline scripts will use the String overload.
    • getStructure

      public String getStructure()
    • setStructure

      @DataBoundSetter public void setStructure(String structure)
    • getPrimaryFilePath

      public String getPrimaryFilePath()
    • setPrimaryFilePath

      @DataBoundSetter public void setPrimaryFilePath(String primaryFilePath)
    • getExpansionFilePath

      public String getExpansionFilePath()
    • setExpansionFilePath

      @DataBoundSetter public void setExpansionFilePath(String expansionFilePath)
    • getVersionComponent1Major

      public String getVersionComponent1Major()
    • setVersionComponent1Major

      @DataBoundSetter public void setVersionComponent1Major(String versionComponent1Major)
    • getVersionComponent2Minor

      public String getVersionComponent2Minor()
    • setVersionComponent2Minor

      @DataBoundSetter public void setVersionComponent2Minor(String versionComponent2Minor)
    • getVersionComponent3Patch

      public String getVersionComponent3Patch()
    • setVersionComponent3Patch

      @DataBoundSetter public void setVersionComponent3Patch(String versionComponent3Patch)
    • getVersionComponentExtra

      public String getVersionComponentExtra()
    • setVersionComponentExtra

      @DataBoundSetter public void setVersionComponentExtra(String versionComponentExtra)
    • getVersionComponentMeta

      public String getVersionComponentMeta()
    • setVersionComponentMeta

      @DataBoundSetter public void setVersionComponentMeta(String versionComponentMeta)
    • getCustomBuildNumber

      public String getCustomBuildNumber()
    • setCustomBuildNumber

      @DataBoundSetter public void setCustomBuildNumber(String customBuildNumber)
    • getLabels

      public String getLabels()
    • setLabels

      @DataBoundSetter public void setLabels(String labels)
    • getArchitectures

      public String getArchitectures()
    • setArchitectures

      @DataBoundSetter public void setArchitectures(String architectures)
    • getVcHostType

      public String getVcHostType()
    • setVcHostType

      @DataBoundSetter public void setVcHostType(String vcHostType)
    • getVcHost

      public String getVcHost()
    • setVcHost

      @DataBoundSetter public void setVcHost(String vcHost)
    • getVcRepoName

      public String getVcRepoName()
    • setVcRepoName

      @DataBoundSetter public void setVcRepoName(String vcRepoName)
    • getVcRepoUrl

      public String getVcRepoUrl()
    • setVcRepoUrl

      @DataBoundSetter public void setVcRepoUrl(String vcRepoUrl)
    • getVcBranch

      public String getVcBranch()
    • setVcBranch

      @DataBoundSetter public void setVcBranch(String vcBranch)
    • getVcCommitSha

      public String getVcCommitSha()
    • setVcCommitSha

      @DataBoundSetter public void setVcCommitSha(String vcCommitSha)
    • getVcCommitUrl

      public String getVcCommitUrl()
    • setVcCommitUrl

      @DataBoundSetter public void setVcCommitUrl(String vcCommitUrl)
    • getPlatform

      public String getPlatform()
    • setPlatform

      @DataBoundSetter public void setPlatform(String platform)
    • getStream

      public String getStream()
    • setStream

      @DataBoundSetter public void setStream(String stream)
    • getNotes

      public String getNotes()
    • setNotes

      @DataBoundSetter public void setNotes(String notes)