Class UiPathSolutionPack

java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
com.uipath.uipathpackage.solutions.UiPathSolutionPack
All Implemented Interfaces:
ExtensionPoint, Describable<Builder>, BuildStep, SimpleBuildStep

public class UiPathSolutionPack extends Builder implements SimpleBuildStep
Performs the actual solution packaging build.
  • 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 Path
      outputPath - Output Path
      traceLevel - 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, IOException
      Run this step.
      Specified by:
      perform in 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
    • setUseOrchestrator

      @DataBoundSetter public void setUseOrchestrator(boolean useOrchestrator)
    • setGovernanceFilePath

      @DataBoundSetter public void setGovernanceFilePath(String governanceFilePath)
    • setDisableBuiltInNugetFeeds

      @DataBoundSetter public void setDisableBuiltInNugetFeeds(Boolean disableBuiltInNugetFeeds)
    • setRunWorkflowAnalysis

      @DataBoundSetter public void setRunWorkflowAnalysis(boolean runWorkflowAnalysis)
    • setRepositoryUrl

      @DataBoundSetter public void setRepositoryUrl(String repositoryUrl)
    • setRepositoryCommit

      @DataBoundSetter public void setRepositoryCommit(String repositoryCommit)
    • setRepositoryBranch

      @DataBoundSetter public void setRepositoryBranch(String repositoryBranch)
    • setRepositoryType

      @DataBoundSetter public void setRepositoryType(String repositoryType)
    • setProjectUrl

      @DataBoundSetter public void setProjectUrl(String projectUrl)
    • setReleaseNotes

      @DataBoundSetter public void setReleaseNotes(String releaseNotes)
    • setOrchestratorAddress

      @DataBoundSetter public void setOrchestratorAddress(String orchestratorAddress)
    • setOrchestratorTenant

      @DataBoundSetter public void setOrchestratorTenant(String orchestratorTenant)
    • setCredentials

      @DataBoundSetter public void setCredentials(SelectEntry credentials)
    • getVersion

      public String getVersion()
      Provide the version
      Returns:
      String version
    • getWorkspacePath

      public String getWorkspacePath()
      Provides the workspace path
      Returns:
      String workspacePath
    • getUseOrchestrator

      public boolean getUseOrchestrator()
      Use orchestrator
      Returns:
      boolean useOrchestrator
    • getOrchestratorAddress

      public String getOrchestratorAddress()
      Orchestrator address
      Returns:
      String orchestratorAddress
    • getOrchestratorTenant

      public String getOrchestratorTenant()
      Orchestrator tenant
      Returns:
      String orchestratorTenant
    • getCredentials

      public SelectEntry getCredentials()
      Credentials
      Returns:
      SelectEntry credentials
    • getOutputPath

      public String getOutputPath()
      Provides the Output Path
      Returns:
      String outputPath
    • getDisableBuiltInNugetFeeds

      public Boolean getDisableBuiltInNugetFeeds()
    • getRunWorkflowAnalysis

      public boolean getRunWorkflowAnalysis()
      Provides the run workflow analysis flag
      Returns:
      boolean runWorkflowAnalysis
    • getGovernanceFilePath

      public String getGovernanceFilePath()
    • getRepositoryUrl

      public String getRepositoryUrl()
      Provides the repository url
      Returns:
      String repositoryUrl
    • getRepositoryCommit

      public String getRepositoryCommit()
      Provides the repository commit
      Returns:
      String repositoryCommit
    • getRepositoryBranch

      public String getRepositoryBranch()
      Provides the repository branch
      Returns:
      String repositoryBranch
    • getRepositoryType

      public String getRepositoryType()
      Provides the repository type
      Returns:
      String repositoryType
    • getProjectUrl

      public String getProjectUrl()
      Provides the project url
      Returns:
      String projectUrl
    • getReleaseNotes

      public String getReleaseNotes()
    • getTraceLevel

      public TraceLevel getTraceLevel()
      traceLevel
      Returns:
      TraceLevel traceLevel