Package com.buildstash
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:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNotes()voidSetter that accepts Secret directly (for programmatic use).voidSetter that accepts String and converts to Secret.voidsetArchitectures(String architectures) voidsetCustomBuildNumber(String customBuildNumber) voidsetExpansionFilePath(String expansionFilePath) voidvoidvoidsetPlatform(String platform) voidsetPrimaryFilePath(String primaryFilePath) voidvoidsetStructure(String structure) voidsetVcBranch(String vcBranch) voidsetVcCommitSha(String vcCommitSha) voidsetVcCommitUrl(String vcCommitUrl) voidvoidsetVcHostType(String vcHostType) voidsetVcRepoName(String vcRepoName) voidsetVcRepoUrl(String vcRepoUrl) voidsetVersionComponent1Major(String versionComponent1Major) voidsetVersionComponent2Minor(String versionComponent2Minor) voidsetVersionComponent3Patch(String versionComponent3Patch) voidsetVersionComponentExtra(String versionComponentExtra) voidsetVersionComponentMeta(String versionComponentMeta) org.jenkinsci.plugins.workflow.steps.StepExecutionstart(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
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:
startin classorg.jenkinsci.plugins.workflow.steps.Step- Throws:
Exception
-
getApiKey
-
setApiKey
Setter that accepts String and converts to Secret. This is the primary setter used by Jenkins pipeline scripts and forms. -
setApiKey
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
-
setStructure
-
getPrimaryFilePath
-
setPrimaryFilePath
-
getExpansionFilePath
-
setExpansionFilePath
-
getVersionComponent1Major
-
setVersionComponent1Major
-
getVersionComponent2Minor
-
setVersionComponent2Minor
-
getVersionComponent3Patch
-
setVersionComponent3Patch
-
getVersionComponentExtra
-
setVersionComponentExtra
-
getVersionComponentMeta
-
setVersionComponentMeta
-
getCustomBuildNumber
-
setCustomBuildNumber
-
getLabels
-
setLabels
-
getArchitectures
-
setArchitectures
-
getVcHostType
-
setVcHostType
-
getVcHost
-
setVcHost
-
getVcRepoName
-
setVcRepoName
-
getVcRepoUrl
-
setVcRepoUrl
-
getVcBranch
-
setVcBranch
-
getVcCommitSha
-
setVcCommitSha
-
getVcCommitUrl
-
setVcCommitUrl
-
getPlatform
-
setPlatform
-
getStream
-
setStream
-
getNotes
-
setNotes
-