In my local source repo, I have a bunch of power shell scripts that will need to execute as part of a release job.
In order to get them to be executed by the deployment agent, what is the correct way to get the scripts where they need to be and reference them? Do I need to copy the scripts into an artifact and retrieve that artifact on the deploy agent side, or is there another way to do this? All MS documentation says use $(System.DefaultWorkingDirectory) as my base path but on the deployment side the scripts aren't copied to there since it does not download the repo. I am assuming making a artifact and downloading it is the correct way to do this, then they would be in that location.



