UiPath Documentation
coding-agents
2026.10
false
UiPath for Coding Agents user guide

CI/CD and automation

Run the uip CLI non-interactively in a CI/CD pipeline to publish and run automations.

Run the uip CLI in a pipeline, with no browser login.

Prerequisites​

  • A CI/CD system such as GitHub Actions or Azure DevOps.
  • An External Application: a client ID, plus a client secret or a federated credential.

Set up a pipeline job​

  1. Store the credentials as CI/CD secrets, never in the repository.

  2. Install the CLI:

    npm install -g @uipath/cli
    npm install -g @uipath/cli
    
  3. Sign in with the External Application:

    uip login --client-id env.UIPATH_CLIENT_ID --client-secret env.UIPATH_CLIENT_SECRET --tenant <tenant-name>
    uip login --client-id env.UIPATH_CLIENT_ID --client-secret env.UIPATH_CLIENT_SECRET --tenant <tenant-name>
    

    Add --authority for a host other than cloud.uipath.com. For federated login, pass --client-assertion instead of --client-secret.

  4. Run your publish or job command.

  5. Fail the pipeline on any non-zero exit code:

    CodeMeaning
    1Failure
    2Authentication error
    3Validation error
    4Timeout

    For test runs, gate on the uip tm report get result: before CLI 1.207.0, uip tm wait exits 0 even when tests fail.

Commands: UiPath CLI documentation. Agent-built Studio Admin pipelines: CI/CD pipelines.

  • Prerequisites​
  • Set up a pipeline job​

Was this page helpful?

Connect

Need help? Support(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated