Class CreateReleaseStep
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
-
- org.jenkinsci.plugins.workflow.steps.Step
-
- io.jenkins.plugins.github.release.CreateReleaseStep
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
,GitHubParameters
,RepositoryParameters
,Serializable
public class CreateReleaseStep extends org.jenkinsci.plugins.workflow.steps.Step implements Serializable, GitHubParameters, RepositoryParameters
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateReleaseStep.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description String
bodyFile
String
bodyText
String
categoryName
String
commitish
String
credentialId
Boolean
draft
String
gitHubServer
String
name
Boolean
prerelease
String
repository
String
tag
-
Constructor Summary
Constructors Constructor Description CreateReleaseStep()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCredentialId()
String
getGithubServer()
String
getRepository()
void
setBodyFile(String bodyFile)
void
setBodyText(String bodyText)
void
setCategoryName(String categoryName)
void
setCommitish(String commitish)
void
setCredentialId(String credentialId)
void
setDraft(Boolean draft)
void
setGithubServer(String gitHubServer)
void
setName(String name)
void
setPrerelease(Boolean prerelease)
void
setRepository(String repository)
void
setTag(String tag)
org.jenkinsci.plugins.workflow.steps.StepExecution
start(org.jenkinsci.plugins.workflow.steps.StepContext context)
-
-
-
Field Detail
-
tag
public String tag
-
bodyText
public String bodyText
-
bodyFile
public String bodyFile
-
commitish
public String commitish
-
draft
public Boolean draft
-
name
public String name
-
prerelease
public Boolean prerelease
-
categoryName
public String categoryName
-
credentialId
public String credentialId
-
gitHubServer
public String gitHubServer
-
repository
public String repository
-
-
Method Detail
-
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
- Specified by:
start
in classorg.jenkinsci.plugins.workflow.steps.Step
- Throws:
Exception
-
getCredentialId
public String getCredentialId()
- Specified by:
getCredentialId
in interfaceGitHubParameters
-
setCredentialId
@DataBoundSetter public void setCredentialId(String credentialId)
- Specified by:
setCredentialId
in interfaceGitHubParameters
-
getGithubServer
public String getGithubServer()
- Specified by:
getGithubServer
in interfaceGitHubParameters
-
setGithubServer
@DataBoundSetter public void setGithubServer(String gitHubServer)
- Specified by:
setGithubServer
in interfaceGitHubParameters
-
getRepository
public String getRepository()
- Specified by:
getRepository
in interfaceRepositoryParameters
-
setRepository
@DataBoundSetter public void setRepository(String repository)
- Specified by:
setRepository
in interfaceRepositoryParameters
-
setTag
@DataBoundSetter public void setTag(String tag)
-
setBodyText
@DataBoundSetter public void setBodyText(String bodyText)
-
setBodyFile
@DataBoundSetter public void setBodyFile(String bodyFile)
-
setCommitish
@DataBoundSetter public void setCommitish(String commitish)
-
setDraft
@DataBoundSetter public void setDraft(Boolean draft)
-
setName
@DataBoundSetter public void setName(String name)
-
setPrerelease
@DataBoundSetter public void setPrerelease(Boolean prerelease)
-
setCategoryName
@DataBoundSetter public void setCategoryName(String categoryName)
-
-