# UiPath Solution Upload Package

> Application: **Solution**

Application: **Solution**

Type: **Post-Build task**

**UiPath Solution: Upload Package** is available in standard jobs and pipelines, and lets you upload an UiPath solution package to an Orchestrator instance.

:::note
Solutions are currently supported only in Automation Cloud. Support for Automation Suite is planned for a future release. On-premises (MSI) Orchestrator does not support Solutions.
:::

:::note
This task is compatible only with `UiPath.CLI.Windows` or `UiPath.CLI.Linux` at least version 25.10 or higher.
:::

## Configuration

 <colgroup>
  <col/>
  <col/>
 </colgroup>
 
  
     Job parameter  
     Description  
  
 
 
  
    Solution package path 
     Path to the solution package that will be uploaded.  
  
  
    Orchestrator address 
     The address of the Orchestrator instance where you'll upload the package to.  
  
  
    Orchestrator tenant 
     Specify the Orchestrator tenant.  
  
  
    Authentication 
     For authentication towards Automation Cloud Orchestrator, you need to create credentials in Jenkins upfront. Solutions support External App authentication only. See Managing external applications for details on creating an External App and obtaining the required credentials.  
  
   
    Trace level 
     Setting used to enable trace logging to one of the following levels:  None  Critical  Error  Warning  Information  Verbose. (The default is set to None ).  Useful for debugging purposes.  
  
 

## Pipeline example

```
pipeline {
  agent any
  environment {
      MAJOR = '1'
      MINOR = '0'
  }
  stages {
    stage ('Upload Solution Package') {
      steps {
        script {
            orchestratorCredentials = ExternalApp(
                applicationId: 'External application identifier',
                applicationScope: 'AutomationSolutions Solutions.Deployments Solutions.Packages',
                applicationSecret: 'External application secret',
                accountForApp: 'Organization identifier'
            )

            UiPathSolutionUploadPackage(
                solutionPackagePath: 'path/to/solution/package',
                orchestratorAddress: 'OrchestratorUrl',
                orchestratorTenant: 'Tenant name',
                credentials: orchestratorCredentials,
                traceLevel: 'Information',
            )
        }
      }
    }
  }
}
```
