Alex Watson
Alex Watson

Reputation: 77

Can I add default dependencies to Azure DevOps pipelines?

I have an Azure Repo with a pipeline that calls a script when triggered. The script needs a few dependencies to perform the work. Is there a way to have the dependencies by default to avoid having to install them every time the script is triggered?

Upvotes: 2

Views: 423

Answers (1)

Reda E.
Reda E.

Reputation: 878

If you want to avoid installing dependencies each time pipeline runs, you need to build your own self-hosted agent

From https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/agents?view=azure-devops&tabs=browser

Self-hosted agents give you more control to install dependent software needed for your builds and deployments. Also, machine-level caches and configuration persist from run to run, which can boost speed.

Upvotes: 1

Related Questions