Package eu.cqse.teamscale.jenkins.upload
Class TeamscaleUploadBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
eu.cqse.teamscale.jenkins.upload.TeamscaleUploadBuilder
- All Implemented Interfaces:
- ExtensionPoint,- Describable<Publisher>,- BuildStep,- SimpleBuildStep
The Teamscale Jenkins plugin.
 The inheritance from Notifier marks is as a post build action plugin.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classDescription/Hint provided if user does not fill out the plugin fields correctly.Nested classes/interfaces inherited from class hudson.tasks.PublisherPublisher.DescriptorExtensionListImplNested classes/interfaces inherited from interface hudson.tasks.BuildStepBuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStepSimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringFor printing errors to jenkins console.static final StringFor printing info to jenkins console.static final StringFor printing warnings to jenkins console.Fields inherited from interface hudson.tasks.BuildStepBUILDERS, PUBLISHERS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetUrl()voidperform(Run<?, ?> run, FilePath workspace, Launcher launcher, TaskListener listener) voidsetCredentialsId(String credentialsId) voidsetRepository(String repository) voidsetRevision(String revision) Methods inherited from class hudson.tasks.NotifiergetDescriptorMethods inherited from class hudson.tasks.Publisherall, getProjectAction, needsToRunAfterFinalized, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayergetProjectAction, getProjectActions, perform, perform, prebuildMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.tasks.BuildStepgetProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuildMethods inherited from interface jenkins.tasks.SimpleBuildStepperform, perform, requiresWorkspace
- 
Field Details- 
ERROR
- 
WARNING
- 
INFO
 
- 
- 
Constructor Details- 
TeamscaleUploadBuilder@DataBoundConstructor public TeamscaleUploadBuilder(String url, String credentialsId, String teamscaleProject, String partition, String uploadMessage, String includePattern, String reportFormatId, String revision) Automatic data binding on save of the plugin configuration in jenkins.- Parameters:
- url- to save.
- teamscaleProject- to save.
- partition- to save.
- uploadMessage- to save.
- includePattern- to save.
- reportFormatId- to save.
- revision- to save. Required in pipeline projects.
 
 
- 
- 
Method Details- 
getUrl
- 
getTeamscaleProject
- 
getPartition
- 
getRepository
- 
getUploadMessage
- 
getIncludePattern
- 
getReportFormatId
- 
getCredentialsId
- 
setCredentialsId
- 
getRevision
- 
setRevision
- 
setRepository
- 
performpublic void perform(@Nonnull Run<?, ?> run, FilePath workspace, @Nonnull Launcher launcher, @Nonnull TaskListener listener) throws InterruptedException, IOException- Specified by:
- performin interface- SimpleBuildStep
- Throws:
- InterruptedException
- IOException
 
 
-