# Newman integration in Azure DevOps, how to export changed environment variable collection on every run?

**URL:** <https://community.postman.com/t/newman-integration-in-azure-devops-how-to-export-changed-environment-variable-collection-on-every-run/34485>\
**Category:** Help Hub\
**Tags:** newman-project, tests, postman-api, azure\
**Created:** [April 14, 2022, 7:20am UTC](https://community.postman.com/t/newman-integration-in-azure-devops-how-to-export-changed-environment-variable-collection-on-every-run/34485 "2022-04-14T07:20:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ciapas.laurynas](https://avatars.discourse-cdn.com/v4/letter/c/58956e/32.png) [@ciapas.laurynas](https://community.postman.com/u/ciapas.laurynas)\
**Post date:** [April 14, 2022, 7:20am UTC](https://community.postman.com/t/newman-integration-in-azure-devops-how-to-export-changed-environment-variable-collection-on-every-run/34485/1 "2022-04-14T07:20:39Z")

</div>

> **Archived topic — this may be out of date.**  
> Newman has been replaced by the **[Postman CLI](https://learning.postman.com/docs/postman-cli/postman-cli-overview/)**, Postman’s official, signed command-line tool. It runs collections as Newman did, and also lints API specs, runs mocks and monitors, and syncs local files with Postman from your terminal, CI/CD pipeline or coding agent.  
> Working with an AI coding agent? The [Postman plugin](https://github.com/postmanlabs/postman-plugin) lets agents in Claude Code, Cursor, Codex and others design, mock, test and ship APIs with Postman.  
> For current help, see the [Postman docs](https://learning.postman.com/docs/), try the free [Postman tools](https://www.postman.com/tools) (no account needed), or join us on [Discord](https://discord.gg/58aNNsRBGR).

Hello,  
i’ve integrated postman tests in azure devops. Tests have a lot of changing variables like sums, last transaction row version and etc, so I need to keep updated variables values on every run at my environment collection, but --export-environment command doesn’t work in azure, it works only locally.  
So it possible to do, that my environment variables keep updating on every run?

How azure is configured:

 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/5/5d50561f68b81a033c4d023918fd14253152a98f.png)

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/d/f/df766cb17a0e8f20fe27ba0b0fb21a1fb47c775e.png)
