public class TeamscaleUploadBuilder extends Notifier implements SimpleBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
TeamscaleUploadBuilder.DescriptorImpl
Description/Hint provided if user does not fill out the plugin fields correctly.
|
Publisher.DescriptorExtensionListImplSimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactoryBuildStep.PublisherListExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Field and Description |
|---|---|
static String |
ERROR
For printing errors to jenkins console.
|
static String |
INFO
For printing info to jenkins console.
|
static String |
WARNING
For printing warnings to jenkins console.
|
BUILDERS, PUBLISHERS| Constructor and Description |
|---|
TeamscaleUploadBuilder(String url,
String credentialsId,
String teamscaleProject,
String partition,
String uploadMessage,
String antPatternForFileScan,
String reportFormatId,
String revision)
Automatic data binding on save of the plugin configuration in jenkins.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAntPatternForFileScan() |
String |
getCredentialsId() |
String |
getPartition() |
String |
getReportFormatId() |
String |
getRevision() |
String |
getTeamscaleProject() |
String |
getUploadMessage() |
String |
getUrl() |
void |
perform(Run<?,?> run,
FilePath workspace,
Launcher launcher,
TaskListener listener) |
void |
setCredentialsId(String credentialsId) |
void |
setRevision(String revision) |
getDescriptorall, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectAction, getProjectActions, perform, perform, prebuildclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuildpublic static final String ERROR
public static final String WARNING
public static final String INFO
@DataBoundConstructor public TeamscaleUploadBuilder(String url, String credentialsId, String teamscaleProject, String partition, String uploadMessage, String antPatternForFileScan, String reportFormatId, String revision)
url - to save.teamscaleProject - to save.partition - to save.uploadMessage - to save.antPatternForFileScan - to save.reportFormatId - to save.revision - to save.public String getUrl()
public String getTeamscaleProject()
public String getPartition()
public String getUploadMessage()
public String getAntPatternForFileScan()
public String getReportFormatId()
public String getCredentialsId()
public void setCredentialsId(String credentialsId)
public String getRevision()
@DataBoundSetter public void setRevision(String revision)
public void perform(@Nonnull Run<?,?> run, FilePath workspace, @Nonnull Launcher launcher, @Nonnull TaskListener listener) throws InterruptedException, IOException
perform in interface SimpleBuildStepInterruptedExceptionIOExceptionCopyright © 2016–2020. All rights reserved.