Class UiPathSolutionPack
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
com.uipath.uipathpackage.solutions.UiPathSolutionPack
- All Implemented Interfaces:
ExtensionPoint,Describable<Builder>,BuildStep,SimpleBuildStep
Performs the actual solution packaging build.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested 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
ConstructorsConstructorDescriptionUiPathSolutionPack(String version, String workspacePath, 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 project urlProvides the repository branchProvides the repository commitProvides the repository typeProvides the repository urlbooleanProvides the run workflow analysis flagtraceLevelbooleanUse orchestratorProvide the versionProvides the workspace pathvoidRun this step.voidsetCredentials(SelectEntry credentials) voidsetDisableBuiltInNugetFeeds(Boolean disableBuiltInNugetFeeds) voidsetGovernanceFilePath(String governanceFilePath) voidsetOrchestratorAddress(String orchestratorAddress) voidsetOrchestratorTenant(String orchestratorTenant) voidsetProjectUrl(String projectUrl) voidsetReleaseNotes(String releaseNotes) voidsetRepositoryBranch(String repositoryBranch) voidsetRepositoryCommit(String repositoryCommit) voidsetRepositoryType(String repositoryType) voidsetRepositoryUrl(String repositoryUrl) voidsetRunWorkflowAnalysis(boolean runWorkflowAnalysis) voidsetUseOrchestrator(boolean useOrchestrator) Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuildMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuildMethods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Constructor Details
-
UiPathSolutionPack
@DataBoundConstructor public UiPathSolutionPack(String version, String workspacePath, String outputPath, TraceLevel traceLevel) Data bound constructor responsible for setting the values param values to state- Parameters:
version- Version string (mandatory)workspacePath- Workspace 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:
performin 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
-
setDisableBuiltInNugetFeeds
-
setRunWorkflowAnalysis
@DataBoundSetter public void setRunWorkflowAnalysis(boolean runWorkflowAnalysis) -
setRepositoryUrl
-
setRepositoryCommit
-
setRepositoryBranch
-
setRepositoryType
-
setProjectUrl
-
setReleaseNotes
-
setOrchestratorAddress
-
setOrchestratorTenant
-
setCredentials
-
getVersion
Provide the version- Returns:
- String version
-
getWorkspacePath
Provides the workspace path- Returns:
- String workspacePath
-
getUseOrchestrator
public boolean getUseOrchestrator()Use orchestrator- Returns:
- boolean useOrchestrator
-
getOrchestratorAddress
Orchestrator address- Returns:
- String orchestratorAddress
-
getOrchestratorTenant
Orchestrator tenant- Returns:
- String orchestratorTenant
-
getCredentials
Credentials- Returns:
- SelectEntry credentials
-
getOutputPath
Provides the Output Path- Returns:
- String outputPath
-
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
-