Home > database >  Script path of PowerShell task Azure DevOps release
Script path of PowerShell task Azure DevOps release

Time:09-29

I have enter image description here

If I add the PowerShell task to the pipeline, then I can select the script from the three dots.

enter image description here

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:

enter image description here

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.

  • Related