public class UiPathPack
extends hudson.tasks.Builder
implements jenkins.tasks.SimpleBuildStep
BuildSteps that perform the actual build.| Modifier and Type | Class and Description |
|---|---|
static class |
UiPathPack.AutoEntry
Implementation of the auto versioning method
|
static class |
UiPathPack.DescriptorImpl
Descriptor for Builder |
static class |
UiPathPack.Entry
Partial default implementation of
Describable. |
static class |
UiPathPack.ManualEntry
Implementation of the Custom Versioning method, providing the text as input
|
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory| Constructor and Description |
|---|
UiPathPack(UiPathPack.Entry version,
String projectJsonPath,
String outputPath)
Data bound constructor responsible for setting the values param values to state
|
| Modifier and Type | Method and Description |
|---|---|
String |
getOutputPath()
Provides the Output Path
|
String |
getProjectJsonPath()
Provides the project json path
|
UiPathPack.Entry |
getVersion()
Provide the project version
|
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
Run this step.
|
all, getDescriptor, getRequiredMonitorService, prebuildgetProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild@DataBoundConstructor public UiPathPack(UiPathPack.Entry version, String projectJsonPath, String outputPath)
version - Entry versionprojectJsonPath - Project Json PathoutputPath - Output Pathpublic void perform(@Nonnull hudson.model.Run<?,?> run, @Nonnull hudson.FilePath workspace, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws InterruptedException, IOException
perform in interface jenkins.tasks.SimpleBuildSteprun - a build this is running as a part ofworkspace - a workspace to use for any file operationslauncher - a way to start processeslistener - a place to send outputInterruptedException - if the step is interruptedIOException - if something goes wrongpublic UiPathPack.Entry getVersion()
public String getProjectJsonPath()
public String getOutputPath()
Copyright © 2016–2019. All rights reserved.