Package com.uipath.uipathpackage
Class UiPathPack
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
com.uipath.uipathpackage.UiPathPack
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
,SimpleBuildStep
Performs the actual build.
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
ConstructorDescriptionUiPathPack
(SelectEntry version, String projectJsonPath, String outputPath, TraceLevel traceLevel) Data bound constructor responsible for setting the values param values to state -
Method Summary
Modifier and TypeMethodDescriptionCredentialsOrchestrator addressOrchestrator tenantProvides the Output PathProvides the Output TypeProvides the project json pathProvides the project urlProvides the repository branchProvides the repository commitProvides the repository typeProvides the repository urlboolean
Provides the run workflow analysis flagProvides the split output flagtraceLevelboolean
Use orchestratorProvide the project versionvoid
Run this step.void
setCredentials
(SelectEntry credentials) void
setDisableBuiltInNugetFeeds
(Boolean disableBuiltInNugetFeeds) void
setGovernanceFilePath
(String governanceFilePath) void
setOrchestratorAddress
(String orchestratorAddress) void
setOrchestratorTenant
(String orchestratorTenant) void
setOutputType
(String outputType) void
setProjectUrl
(String projectUrl) void
setReleaseNotes
(String releaseNotes) void
setRepositoryBranch
(String repositoryBranch) void
setRepositoryCommit
(String repositoryCommit) void
setRepositoryType
(String repositoryType) void
setRepositoryUrl
(String repositoryUrl) void
setRunWorkflowAnalysis
(boolean runWorkflowAnalysis) void
setSplitOutput
(Boolean splitOutput) void
setUseOrchestrator
(boolean useOrchestrator) Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuild
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuild
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Constructor Details
-
UiPathPack
@DataBoundConstructor public UiPathPack(SelectEntry version, String projectJsonPath, String outputPath, TraceLevel traceLevel) Data bound constructor responsible for setting the values param values to state- Parameters:
version
- Entry versionprojectJsonPath
- Project Json PathoutputPath
- Output PathtraceLevel
- The trace logging level. One of the following values: None, Critical, Error, Warning, Information, Verbose. (default None)
-
-
Method Details
-
perform
public void perform(@Nonnull Run<?, ?> run, @Nonnull FilePath workspace, @Nonnull EnvVars env, @Nonnull Launcher launcher, @Nonnull TaskListener listener) throws InterruptedException, IOExceptionRun this step.- Specified by:
perform
in interfaceSimpleBuildStep
- Parameters:
run
- 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 output- Throws:
InterruptedException
- if the step is interruptedIOException
- if something goes wrong
-
setUseOrchestrator
@DataBoundSetter public void setUseOrchestrator(boolean useOrchestrator) -
setGovernanceFilePath
-
setOutputType
-
setSplitOutput
-
setDisableBuiltInNugetFeeds
-
setRunWorkflowAnalysis
@DataBoundSetter public void setRunWorkflowAnalysis(boolean runWorkflowAnalysis) -
setRepositoryUrl
-
setRepositoryCommit
-
setRepositoryBranch
-
setRepositoryType
-
setProjectUrl
-
setReleaseNotes
-
setOrchestratorAddress
-
setOrchestratorTenant
-
setCredentials
-
getVersion
Provide the project version- Returns:
- Entry for versioning
-
getProjectJsonPath
Provides the project json path- Returns:
- String projectJsonPath
-
getUseOrchestrator
public boolean getUseOrchestrator()Use orchestrator- Returns:
- boolean useOrchestrator
-
getOrchestratorAddress
Orchestrator address- Returns:
- boolean orchestratorAddress
-
getOrchestratorTenant
Orchestrator tenant- Returns:
- boolean orchestratorTenant
-
getCredentials
Credentials- Returns:
- boolean credentials
-
getOutputPath
Provides the Output Path- Returns:
- String outputPath
-
getOutputType
Provides the Output Type- Returns:
- String outputType
-
getSplitOutput
Provides the split output flag- Returns:
- Boolean splitOutput
-
getDisableBuiltInNugetFeeds
-
getRunWorkflowAnalysis
public boolean getRunWorkflowAnalysis()Provides the run workflow analysis flag- Returns:
- boolean runWorkflowAnalysis
-
getGovernanceFilePath
-
getRepositoryUrl
Provides the repository url- Returns:
- String repositoryUrl
-
getRepositoryCommit
Provides the repository commit- Returns:
- String repositoryCommit
-
getRepositoryBranch
Provides the repository branch- Returns:
- String repositoryBranch
-
getRepositoryType
Provides the repository type- Returns:
- String repositoryType
-
getProjectUrl
Provides the project url- Returns:
- String projectUrl
-
getReleaseNotes
-
getTraceLevel
traceLevel- Returns:
- TraceLevel traceLevel
-