public class GithubReleasePublisher
extends hudson.tasks.Notifier
Modifier and Type | Class and Description |
---|---|
static class |
GithubReleasePublisher.DescriptorImpl
Descriptor class.
|
hudson.tasks.Publisher.DescriptorExtensionListImpl
Constructor and Description |
---|
GithubReleasePublisher(String jiraCredentialsID,
String jqlFilter,
String repoName,
String releaseTag,
String releaseName,
boolean isPrerelease,
String artifactPatterns)
Data bound constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getArtifactPatterns() |
boolean |
getIsPrerelease() |
JIRAProjectCredentials |
getJiraCredentials()
Translates the credentialsID into the actual credentials object.
|
String |
getJiraCredentialsID() |
String |
getJqlFilter() |
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project) |
String |
getReleaseName() |
String |
getReleaseTag() |
String |
getRepoName() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
protected org.apache.commons.lang.text.StrSubstitutor |
getVariablesSubstitutor(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener lis)
Returns a StringSubstitutor replacing variables e.g.
|
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
all, getProjectAction, needsToRunAfterFinalized, prebuild
@DataBoundConstructor public GithubReleasePublisher(String jiraCredentialsID, String jqlFilter, String repoName, String releaseTag, String releaseName, boolean isPrerelease, String artifactPatterns)
jiraCredentialsID
- the jira credentialsjqlFilter
- the jql fitlerrepoName
- the reponamereleaseTag
- the tagreleaseName
- the nameisPrerelease
- prerelease flagartifactPatterns
- name patternspublic String getJqlFilter()
public String getRepoName()
public String getReleaseTag()
public String getReleaseName()
public boolean getIsPrerelease()
public String getArtifactPatterns()
public boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws InterruptedException, IOException
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
InterruptedException
IOException
public String getJiraCredentialsID()
public JIRAProjectCredentials getJiraCredentials()
public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
getProjectAction
in interface hudson.tasks.BuildStep
getProjectAction
in class hudson.tasks.BuildStepCompatibilityLayer
protected org.apache.commons.lang.text.StrSubstitutor getVariablesSubstitutor(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener lis)
build
- the current buildlis
- the listener of the current buildpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
Copyright © 2004-2018. All Rights Reserved.