Reputation: 25
I have an Azure DevOps pipeline that i use to run scripts for exporting and importing Dynamics solutions between servers. These solution imports/exports dont require any code from a repository. I would like to just run the pipeline without the need to checkout code to speed it up and remove unneccecary steps. Is there a way to do this?
If i am not mistaken, i use the 'classic' versions of pipelines.
Upvotes: 1
Views: 2561
Reputation: 12378
For a yml pipeline, add or change the checkout step at the top of the -steps
list, to checkout: none
steps:
- checkout: none
Upvotes: 0
Reputation: 1
You can also use a classic release pipeline instead of build pipeline.
Release pipelines do not require any repository to be able to run, as opposed to classic build pipelines and YAML pipelines.
Screenshot of Azure DevOps menu
Upvotes: 0
Reputation: 16188
You can check the Don't sync sources
option on the Get Sources
step:
Upvotes: 4