Manjunath Rao
Manjunath Rao

Reputation: 1511

how to pass Powershell script filepath from azure devops repo into Azure devops build pipeline

I have been following the article to learn Azure Devops. However, I am not able to get the file path for the Powershell script to pass into the azure devops build pipeline.

https://learn.microsoft.com/en-in/azure/devops/pipelines/create-first-pipeline?view=azure-devops

Below is my script in Azure Repo

enter image description here

Below is my Azure devops build pipeline, where I want to add the PowerShell script filepath:

enter image description here

The "ScriptPath" in the second image does not have a browse option, so I am unable to get the proper path.

Please help me.

Upvotes: 0

Views: 6133

Answers (2)

Tore Aurstad
Tore Aurstad

Reputation: 3826

Looks like Azure Devops is improving their user interface every day. The browse ellipse button at least showed up in my pipeline to edit the correct relative path to my Powershell script.

Azure Devops - Piplines - Browse button

Upvotes: 0

Manjunath Rao
Manjunath Rao

Reputation: 1511

'./HelloWorld.ps1' I had to use this format as a filepath.

Upvotes: 2

Related Questions