public class MicroDocsChecker
extends hudson.tasks.Builder
| Modifier and Type | Class and Description |
|---|---|
static class |
MicroDocsChecker.Descriptor |
| Constructor and Description |
|---|
MicroDocsChecker(java.lang.String microDocsReportFile,
java.lang.String microDocsProjectName,
java.lang.String microDocsGroupName,
java.lang.String microDocsEnvironments,
java.lang.String microDocsSourceFolder,
boolean microDocsFailBuild,
boolean microDocsPublish,
boolean microDocsNotifyPullRequest) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMicroDocsEnvironments() |
java.lang.String |
getMicroDocsGroupName() |
java.lang.String |
getMicroDocsProjectName() |
java.lang.String |
getMicroDocsReportFile() |
java.lang.String |
getMicroDocsSourceFolder() |
boolean |
isMicroDocsFailBuild() |
boolean |
isMicroDocsNotifyPullRequest() |
boolean |
isMicroDocsPublish() |
protected <C extends com.cloudbees.plugins.credentials.Credentials> |
lookupCredentials(java.lang.Class<C> type,
hudson.model.Item item,
org.acegisecurity.Authentication authentication,
java.util.ArrayList<com.cloudbees.plugins.credentials.domains.DomainRequirement> domainRequirements)
Returns all credentials which are available to the specified
Authentication for use by the specified Item. |
protected <C extends com.cloudbees.plugins.credentials.Credentials> |
lookupCredentials(java.lang.Class<C> type,
hudson.model.ItemGroup<?> itemGroup,
org.acegisecurity.Authentication authentication,
java.util.ArrayList<com.cloudbees.plugins.credentials.domains.DomainRequirement> domainRequirements)
Returns all credentials which are available to the specified
Authentication for use by the specified Item. |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
all, getDescriptor, getRequiredMonitorService, prebuild@DataBoundConstructor
public MicroDocsChecker(java.lang.String microDocsReportFile,
java.lang.String microDocsProjectName,
java.lang.String microDocsGroupName,
java.lang.String microDocsEnvironments,
java.lang.String microDocsSourceFolder,
boolean microDocsFailBuild,
boolean microDocsPublish,
boolean microDocsNotifyPullRequest)
public java.lang.String getMicroDocsReportFile()
public java.lang.String getMicroDocsProjectName()
public java.lang.String getMicroDocsGroupName()
public java.lang.String getMicroDocsEnvironments()
public java.lang.String getMicroDocsSourceFolder()
public boolean isMicroDocsFailBuild()
public boolean isMicroDocsPublish()
public boolean isMicroDocsNotifyPullRequest()
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws java.lang.InterruptedException,
java.io.IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerjava.lang.InterruptedExceptionjava.io.IOExceptionprotected <C extends com.cloudbees.plugins.credentials.Credentials> java.util.List<C> lookupCredentials(java.lang.Class<C> type,
hudson.model.Item item,
org.acegisecurity.Authentication authentication,
java.util.ArrayList<com.cloudbees.plugins.credentials.domains.DomainRequirement> domainRequirements)
Authentication for use by the specified Item.C - the credentials type.type - the type of credentials to get.authentication - the authentication.item - the item.domainRequirements - the credential domains to match.protected <C extends com.cloudbees.plugins.credentials.Credentials> java.util.List<C> lookupCredentials(java.lang.Class<C> type,
hudson.model.ItemGroup<?> itemGroup,
org.acegisecurity.Authentication authentication,
java.util.ArrayList<com.cloudbees.plugins.credentials.domains.DomainRequirement> domainRequirements)
Authentication for use by the specified Item.C - the credentials type.type - the type of credentials to get.authentication - the authentication.itemGroup - the item group.domainRequirements - the credential domains to match.