{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vstest/issues/1857","repository_url":"https://api.github.com/repos/Microsoft/vstest","labels_url":"https://api.github.com/repos/Microsoft/vstest/issues/1857/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vstest/issues/1857/comments","events_url":"https://api.github.com/repos/Microsoft/vstest/issues/1857/events","html_url":"https://github.com/Microsoft/vstest/issues/1857","id":387455582,"node_id":"MDU6SXNzdWUzODc0NTU1ODI=","number":1857,"title":"Pass a variable into Azure pipeline","user":{"login":"marcosadeghi","id":44847532,"node_id":"MDQ6VXNlcjQ0ODQ3NTMy","avatar_url":"https://avatars1.githubusercontent.com/u/44847532?v=4","gravatar_id":"","url":"https://api.github.com/users/marcosadeghi","html_url":"https://github.com/marcosadeghi","followers_url":"https://api.github.com/users/marcosadeghi/followers","following_url":"https://api.github.com/users/marcosadeghi/following{/other_user}","gists_url":"https://api.github.com/users/marcosadeghi/gists{/gist_id}","starred_url":"https://api.github.com/users/marcosadeghi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcosadeghi/subscriptions","organizations_url":"https://api.github.com/users/marcosadeghi/orgs","repos_url":"https://api.github.com/users/marcosadeghi/repos","events_url":"https://api.github.com/users/marcosadeghi/events{/privacy}","received_events_url":"https://api.github.com/users/marcosadeghi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"singhsarab","id":18569990,"node_id":"MDQ6VXNlcjE4NTY5OTkw","avatar_url":"https://avatars0.githubusercontent.com/u/18569990?v=4","gravatar_id":"","url":"https://api.github.com/users/singhsarab","html_url":"https://github.com/singhsarab","followers_url":"https://api.github.com/users/singhsarab/followers","following_url":"https://api.github.com/users/singhsarab/following{/other_user}","gists_url":"https://api.github.com/users/singhsarab/gists{/gist_id}","starred_url":"https://api.github.com/users/singhsarab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singhsarab/subscriptions","organizations_url":"https://api.github.com/users/singhsarab/orgs","repos_url":"https://api.github.com/users/singhsarab/repos","events_url":"https://api.github.com/users/singhsarab/events{/privacy}","received_events_url":"https://api.github.com/users/singhsarab/received_events","type":"User","site_admin":false},"assignees":[{"login":"singhsarab","id":18569990,"node_id":"MDQ6VXNlcjE4NTY5OTkw","avatar_url":"https://avatars0.githubusercontent.com/u/18569990?v=4","gravatar_id":"","url":"https://api.github.com/users/singhsarab","html_url":"https://github.com/singhsarab","followers_url":"https://api.github.com/users/singhsarab/followers","following_url":"https://api.github.com/users/singhsarab/following{/other_user}","gists_url":"https://api.github.com/users/singhsarab/gists{/gist_id}","starred_url":"https://api.github.com/users/singhsarab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singhsarab/subscriptions","organizations_url":"https://api.github.com/users/singhsarab/orgs","repos_url":"https://api.github.com/users/singhsarab/repos","events_url":"https://api.github.com/users/singhsarab/events{/privacy}","received_events_url":"https://api.github.com/users/singhsarab/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-12-04T19:59:04Z","updated_at":"2018-12-05T15:24:05Z","closed_at":null,"author_association":"NONE","body":"As part of a test I'm logging in a user into Live & retrieving a bearer token. The work flow to retrieve this token is not 100 reliable so I don't want each test that runs as part of a pipeline to need to make this call.\r\n\r\nWhat I'd like to do is in my first test make this call, retrieve the token & then save it to a parameter in the pipeline that other test can read from. Looking at the vstest task item it's not apparent to me if this scenario is supported or how to do this. Any pointers are appreciated. \r\n\r\nCheers\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vstest/issues/comments/444523782","html_url":"https://github.com/Microsoft/vstest/issues/1857#issuecomment-444523782","issue_url":"https://api.github.com/repos/Microsoft/vstest/issues/1857","id":444523782,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDUyMzc4Mg==","user":{"login":"marcosadeghi","id":44847532,"node_id":"MDQ6VXNlcjQ0ODQ3NTMy","avatar_url":"https://avatars1.githubusercontent.com/u/44847532?v=4","gravatar_id":"","url":"https://api.github.com/users/marcosadeghi","html_url":"https://github.com/marcosadeghi","followers_url":"https://api.github.com/users/marcosadeghi/followers","following_url":"https://api.github.com/users/marcosadeghi/following{/other_user}","gists_url":"https://api.github.com/users/marcosadeghi/gists{/gist_id}","starred_url":"https://api.github.com/users/marcosadeghi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcosadeghi/subscriptions","organizations_url":"https://api.github.com/users/marcosadeghi/orgs","repos_url":"https://api.github.com/users/marcosadeghi/repos","events_url":"https://api.github.com/users/marcosadeghi/events{/privacy}","received_events_url":"https://api.github.com/users/marcosadeghi/received_events","type":"User","site_admin":false},"created_at":"2018-12-05T15:24:05Z","updated_at":"2018-12-05T15:24:05Z","author_association":"NONE","body":"Thanks for the quick response \r\n\r\n1) It’s reliable enough. I simply want to reduce the number of times we need to call this method.\r\n2) For now, I’m running one test per VStest task in the pipeline/release & want the pipeline to be the ‘container’ holding the global variable (making it available to the other vstest tasks in the release/pipeline) not the test class. If I was running all tests inside a dll I could source the token & make it available in the class init but that’s not my use case at the moment. "}}
{"actor":{"display_login":"marcosadeghi"}}