https://pulumi.com logo
#general
Title
# general
t

tall-oil-62666

11/13/2019, 8:48 AM
Hey there, I've been playing around with Azure Devops and Pulumi, and I've had some mixed results, my immediate question is with relation to if using the Release Task https://marketplace.visualstudio.com/items?itemName=pulumi.build-and-release-task then how do I get the exported variables out of the task? Thanks!
d

delightful-lizard-41466

11/13/2019, 9:02 AM
Hi @tall-oil-62666, you can try to use this snippet, after a "pulumi up task", to export a pulumi output to a "task.variable"
c

clever-sunset-76585

11/13/2019, 5:51 PM
As @delightful-lizard-41466 mentioned, you can get the stack outputs in a step that comes after your pulumi command step. For another example, see our guide here: https://www.pulumi.com/docs/guides/continuous-delivery/azure-devops/, specifically this example Azure DevOps configuration snippet: https://www.pulumi.com/docs/guides/continuous-delivery/azure-devops/#sample-azure-pipelines-yml