how to set a variable with a file content in server job in azure pipeline

Singhal, Shalini (IT-DEL) 1 Reputation point
2022-03-22T16:43:18.43+00:00

Trying creating a variable in a server based job in azure pipeline using Variables and want to assign it the content of a given file. Could anyone please assist how can we achieve this ?

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

1 answer

Sort by: Most helpful
  1. Monalla-MSFT 12,121 Reputation points
    2022-03-23T01:50:05.01+00:00

    Hello @Singhal, Shalini (IT-DEL) - Welcome to Microsoft Q&A and thanks for reaching out.

    Devops is not currently supported here on Microsoft QnA.
    The Community Members and Engineers are actively answering questions in dedicated forums here. Please post your question in that forum:
    https://developercommunity.visualstudio.com/spaces/21/index.html
    https://azure.microsoft.com/en-in/support/devops/

    Hope this helps. and please feel free to reach out if you have any further questions.

    ------------------------------------------------------------------

    If the above response was helpful, please feel free to "Accept as Answer" and "Upvote" the same so it can be beneficial to the community.

    0 comments No comments