To perform tests in postman from CD pipeline, I use package.json file. I want to pass secrets as parameters from CD pipeline to packagejson

Akhila Vithala 1 Reputation point
2021-02-02T19:14:53.57+00:00

My CD has this command run label (This label is part of package.json file in the artifact)

This is the code in package.json
"label": "newman run collection.json -e environment.json"

Is it possible to pass variables from CD pipeline, access them in package.json and in turn use those variable in the command above?

Thanks in advance fo ryour help.

Community Center | Not monitored
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2021-02-02T19:34:23.67+00:00

    Devops / TFS is not currently supported here on QnA. The product group for Azure DevOps / TFS actively monitors questions over at
    https://developercommunity.visualstudio.com/spaces/21/index.html
    https://developercommunity.visualstudio.com/spaces/22/index.html

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.