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 TypeMethodDescriptionCertificate file pathCredentialsOrchestrator addressOrchestrator tenantProvides the Output PathCertificate passwordProvides the project urlProvides the repository branchProvides the repository commitProvides the repository typeProvides the repository urlbooleanProvides the run workflow analysis flagbooleanShow metadata optional blockbooleanShow more settings optional blockbooleanShow package signing optional blockTimestamp server URLtraceLevelbooleanUse orchestratorProvides the workspace pathvoidRun this step.voidsetCertificatePath(String certificatePath) voidsetCredentials(SelectEntry credentials) voidsetDisableBuiltInNugetFeeds(Boolean disableBuiltInNugetFeeds) voidsetGovernanceFilePath(String governanceFilePath) voidsetOrchestratorAddress(String orchestratorAddress) voidsetOrchestratorTenant(String orchestratorTenant) voidsetPassword(String password) voidsetProjectUrl(String projectUrl) voidsetReleaseNotes(String releaseNotes) voidsetRepositoryBranch(String repositoryBranch) voidsetRepositoryCommit(String repositoryCommit) voidsetRepositoryType(String repositoryType) voidsetRepositoryUrl(String repositoryUrl) voidsetRunWorkflowAnalysis(boolean runWorkflowAnalysis) voidsetShowMetadata(boolean showMetadata) voidsetShowMoreSettings(boolean showMoreSettings) voidsetShowPackageSigning(boolean showPackageSigning) voidsetTimestampServerUrl(String timestampServerUrl) 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
-
setShowMetadata
@DataBoundSetter public void setShowMetadata(boolean showMetadata) -
setShowPackageSigning
@DataBoundSetter public void setShowPackageSigning(boolean showPackageSigning) -
setCertificatePath
-
setPassword
-
setTimestampServerUrl
-
setShowMoreSettings
@DataBoundSetter public void setShowMoreSettings(boolean showMoreSettings) -
getVersion
- 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
-
getShowMetadata
public boolean getShowMetadata()Show metadata optional block- Returns:
- boolean showMetadata
-
getShowPackageSigning
public boolean getShowPackageSigning()Show package signing optional block- Returns:
- boolean showPackageSigning
-
getCertificatePath
Certificate file path- Returns:
- String sign
-
getPassword
Certificate password- Returns:
- String password
-
getTimestampServerUrl
Timestamp server URL- Returns:
- String timestamp
-
getShowMoreSettings
public boolean getShowMoreSettings()Show more settings optional block- Returns:
- boolean showMoreSettings
-
getTraceLevel
traceLevel- Returns:
- TraceLevel traceLevel
-