# Jenkins to Teams script

**URL:** <https://community.jenkins.io/t/jenkins-to-teams-script/37185>\
**Category:** Ask a question\
**Created:** [July 28, 2026, 10:14am UTC](https://community.jenkins.io/t/jenkins-to-teams-script/37185 "2026-07-28T10:14:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jumpingkangaroo](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@jumpingkangaroo](https://community.jenkins.io/u/jumpingkangaroo)\
**Post date:** [July 28, 2026, 10:14am UTC](https://community.jenkins.io/t/jenkins-to-teams-script/37185/1 "2026-07-28T10:14:16Z")

</div>

Hi,

I am currently using the Office 365 Connector with a power automate flow. When the webhook changes I have to do a find and replace on the configs to update the urls. We have a few different webhooks with identical workflows so I was wondering if environment variables for each of the teams channels which feed into a single script on jenkins would be easier. That way i only have to update the environment variable and not all the configs.

I haven`t used scripts much in Jenkins so I was wondering if anyone has done anything like this before and if so how did you do it?

Thanks
