If I add the PowerShell task to the pipeline, then I can select the script from the three dots.
Is it possible to reference the script in the release somehow?
CodePudding user response:
You need to add your repository as a artifact or publish this script as artifact in the pipeline.
To do fitst just add a new artifact and select repository where you keep script:
Then you will get it repo as regular artifact.
Another way is pubslih this script. To do that you need do cehckout repo in the pipeline which you already have to produce you primary artifact and publish just this script. Then it will become available as you already have defined source of artifacts.