public class TeamscaleUploadBuilder
extends hudson.tasks.Notifier
implements jenkins.tasks.SimpleBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
TeamscaleUploadBuilder.DescriptorImpl
Description/Hint provided if user does not fill out the plugin fields correctly.
|
hudson.tasks.Publisher.DescriptorExtensionListImpljenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory| 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.
|
| Constructor and Description |
|---|
TeamscaleUploadBuilder(String url,
String userName,
hudson.util.Secret ideKey,
String teamscaleProject,
String partition,
String uploadMessage,
String antPatternForFileScan,
String reportFormatId)
Automatic data binding on save of the plugin configuration in jenkins.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAntPatternForFileScan() |
hudson.util.Secret |
getIdeKey() |
String |
getPartition() |
String |
getReportFormatId() |
String |
getTeamscaleProject() |
String |
getUploadMessage() |
String |
getUrl() |
String |
getUserName() |
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
all, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectAction, getProjectActions, perform, perform, prebuildpublic static final String ERROR
public static final String WARNING
public static final String INFO
@DataBoundConstructor public TeamscaleUploadBuilder(String url, String userName, hudson.util.Secret ideKey, String teamscaleProject, String partition, String uploadMessage, String antPatternForFileScan, String reportFormatId)
url - to save.userName - to save.ideKey - to save.teamscaleProject - to save.partition - to save.uploadMessage - to save.antPatternForFileScan - to save.reportFormatId - to save.public String getUrl()
public String getUserName()
public hudson.util.Secret getIdeKey()
public String getTeamscaleProject()
public String getPartition()
public String getUploadMessage()
public String getAntPatternForFileScan()
public String getReportFormatId()
public void perform(@Nonnull hudson.model.Run<?,?> run, hudson.FilePath workspace, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws InterruptedException, IOException
perform in interface jenkins.tasks.SimpleBuildStepInterruptedExceptionIOExceptionCopyright © 2016–2020. All rights reserved.