Package com.uipath.uipathpackage
Class UiPathDeploy
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
com.uipath.uipathpackage.UiPathDeploy
- All Implemented Interfaces:
- ExtensionPoint,- Describable<Publisher>,- BuildStep,- SimpleBuildStep
Class responsible for deploying the nuget package to the orchestrator
 instance provided by the user.
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class hudson.tasks.PublisherPublisher.DescriptorExtensionListImplNested classes/interfaces inherited from interface hudson.tasks.BuildStepBuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStepSimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
- 
Field SummaryFields inherited from interface hudson.tasks.BuildStepBUILDERS, PUBLISHERS
- 
Constructor SummaryConstructorsConstructorDescriptionUiPathDeploy(String packagePath, String orchestratorAddress, String orchestratorTenant, String folderName, String environments, SelectEntry credentials, TraceLevel traceLevel, String entryPointPaths, boolean createProcess) Data bound constructor which is responsible for setting/saving of the values provided by the user
- 
Method SummaryModifier and TypeMethodDescriptionbooleanWhether the process should be created automatically or not (default true)Credentials ID, appearing as choice and will be responsible to extract credentials and use for orchestrator connectionThe comma-separated list of entry points with which processes will be createdThe comma-separated list of environments which should be assigned to the process or test cases in the package.Orchestrator FolderBase orchestrator URLOrchestrator Tenantnupkg path which has to be uploadedDeclares the scope of the synchronization monitor thisBuildStepexpects from outside.traceLevelvoidRun this step.voidsetIgnoreLibraryDeployConflict(Boolean ignoreLibraryDeployConflict) voidsetProcessName(String processName) voidsetProcessNames(String processNames) Methods inherited from class hudson.tasks.RecordergetDescriptorMethods inherited from class hudson.tasks.Publisherall, getProjectAction, needsToRunAfterFinalized, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayergetProjectAction, getProjectActions, perform, perform, prebuildMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.tasks.BuildStepgetProjectAction, getProjectActions, perform, prebuildMethods inherited from interface jenkins.tasks.SimpleBuildStepperform, perform, requiresWorkspace
- 
Constructor Details- 
UiPathDeploy@DataBoundConstructor public UiPathDeploy(String packagePath, String orchestratorAddress, String orchestratorTenant, String folderName, String environments, SelectEntry credentials, TraceLevel traceLevel, String entryPointPaths, boolean createProcess) Data bound constructor which is responsible for setting/saving of the values provided by the user- Parameters:
- packagePath- Package Path
- orchestratorAddress- Orchestrator base URL
- orchestratorTenant- Orchestrator tenant
- folderName- Orchestrator folder
- credentials- Orchestrator credentials
- environments- Environments on which to deploy
- traceLevel- The trace logging level. One of the following values: None, Critical, Error, Warning, Information, Verbose. (default None)
- entryPointPaths- Entry points with which processes will be created
- createProcess- Create process flag (default true)
 
 
- 
- 
Method Details- 
getCredentialsCredentials ID, appearing as choice and will be responsible to extract credentials and use for orchestrator connection- Returns:
- SelectEntry credentials
 
- 
getPackagePathnupkg path which has to be uploaded- Returns:
- String packagePath
 
- 
getOrchestratorAddressBase orchestrator URL- Returns:
- String orchestratorAddress
 
- 
getOrchestratorTenantOrchestrator Tenant- Returns:
- String orchestratorTenant
 
- 
getFolderNameOrchestrator Folder- Returns:
- String folderName
 
- 
getEnvironmentsThe comma-separated list of environments which should be assigned to the process or test cases in the package.- Returns:
- The environments on which to deploy
 
- 
getTraceLeveltraceLevel- Returns:
- TraceLevel traceLevel
 
- 
getEntryPointPathsThe comma-separated list of entry points with which processes will be created- Returns:
- the entry points
 
- 
getCreateProcesspublic boolean getCreateProcess()Whether the process should be created automatically or not (default true)- Returns:
- createProcess flag
 
- 
getRequiredMonitorServiceDeclares the scope of the synchronization monitor thisBuildStepexpects from outside.BuildStepMonitor.NONENo external synchronization is performed on this build step. This is the most efficient, and thus the recommended value for newer plugins. Wherever necessary, you can directly useCheckPoints to perform necessary synchronizations.- Specified by:
- getRequiredMonitorServicein interface- BuildStep
- Returns:
- BuildStepMonitor BuildStepMonitor.NONE
 
- 
performpublic 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 interface- SimpleBuildStep
- Parameters:
- run- a build this is running as a part of
- workspace- a workspace to use for any file operations
- launcher- a way to start processes
- listener- a place to send output
- Throws:
- InterruptedException- if the step is interrupted
- IOException- if something goes wrong
 
- 
setIgnoreLibraryDeployConflict
- 
getIgnoreLibraryDeployConflict
- 
setProcessName
- 
getProcessName
- 
setProcessNames
- 
getProcessNames
 
-