How to get "Archive File to create" varaible in my next stage of pipeline.

Ankit Kumar 91 Reputation points
2020-12-08T12:24:26.807+00:00

I have below stages in my release pipeline and the first stage "Blob Storage" has multiple task and one of the task is creating an archive. The value of which is defined as shown in below diagram. In next stage I am calling a Powershell script to download these artifacts in archives in a SharePoint library, i.e. in $(System.DefaultWorkingDirectory)/Archives. I am passing this as an argument in Powershell task but in Powershell it gives me error as D:r/a/r/Archives not found. If I pass only $(System.DefaultWorkingDirectory) it successfully download the artifacts, but that is not correct as I am interested in the files which are created in each release.

How should I pass the Archive files to create in next stage??

46234-stages.png

46252-archive.png

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,798 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Samara Soucy - MSFT 5,051 Reputation points
    2020-12-09T02:29:52.51+00:00

    We want to make sure your question is read by the right people (who will be able to give you the best answers). Please post your question in the following forum, where the Azure DevOps team and DevOps community are actively answering questions:
    https://developercommunity.visualstudio.com/spaces/21/index.html

    0 comments No comments