How to get a variable value from library in a yml file and pass it as a parameter to other yml file

Rajasekar, Vinothini 0 Reputation points
2024-07-26T09:11:26.01+00:00

We need to get a value for particular variable from azure devops library and pass that value as a parameter to another yml pipeline code. Pls help, we are stuck here, as this is not working.Even we are able to fetch the value and can print it in the main yml, but I am facing a challenge in passing this value from the main YAML file to another YAML file. Here it is evaluating value which is expected behavior but in next step (passing the value to other yml) it is not working this needs to be checked and fix.we tried a lot of attempts pls help.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,190 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 29,831 Reputation points Microsoft Vendor
    2024-07-26T11:53:03.4833333+00:00

    Hi @Rajasekar, Vinothini, 

    Welcome to Microsoft Q&A!

    Your issue is related to Azure DevOps, please report it in dedicated Azure DevOps forum.

    Thanks for your understanding. 

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".  Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    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.