Search code examples
azureazure-devopsazure-pipelinesazure-powershellazure-pipelines-release-pipeline

How to specify the correct path for Azure PS Script in VSTS _git for release pipeline?


I'm working on an Azure DevOps release pipeline that utilizes an Azure PowerShell script. I've committed this script alongside my code in VSTS _git. However, I've encountered an issue where I'm unsure about the correct path to reference the script in the pipeline configuration.

I've tried several path combinations, but none seem to work. Here's a screenshot of my current configuration: .enter image description here


Solution

  • Refer Copy Artifacts Step & Publish Artifacts Step online; add those if you are missing in the build definition.Artifacts should be available in the system folder named,$Build.ArtifactStagingDirectory\YourFolderName.