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 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
ConstructorsConstructorDescriptionUiPathPack(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 urlbooleanProvides the run workflow analysis flagProvides the split output flagtraceLevelbooleanUse orchestratorProvide the project versionvoidRun this step.voidsetCredentials(SelectEntry credentials) voidsetDisableBuiltInNugetFeeds(Boolean disableBuiltInNugetFeeds) voidsetGovernanceFilePath(String governanceFilePath) voidsetOrchestratorAddress(String orchestratorAddress) voidsetOrchestratorTenant(String orchestratorTenant) voidsetOutputType(String outputType) voidsetProjectUrl(String projectUrl) voidsetReleaseNotes(String releaseNotes) voidsetRepositoryBranch(String repositoryBranch) voidsetRepositoryCommit(String repositoryCommit) voidsetRepositoryType(String repositoryType) voidsetRepositoryUrl(String repositoryUrl) voidsetRunWorkflowAnalysis(boolean runWorkflowAnalysis) voidsetSplitOutput(Boolean splitOutput) 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
-
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- Workspace Path (it can be path to either project or solution)outputPath- 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
-
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
-