Stay up to date on your build activities with Jenkins integration in Microsoft Teams

Published Apr 17 2019 10:08 AM 52.7K Views
Microsoft

During my conversations with customers I usually get asked if Microsoft Teams support Jenkins, what all Jenkins notifications can be configured in teams and how does Jenkins notifications look in Teams. So, I decided to write up this article to explain how to configure Jenkins notifications in Teams.

 

Jenkins is one of the leading open-source continuous integration tool used for staying up to date on build related activities. Microsoft Teams is growing in DevOps space with over 60+ DevOps apps in its app store. Using both of these great software tools together have potential to bring efficiencies in your build workflow by keeping you always up to date on your build activities.

 

Jenkins connector in Microsoft Teams sends notification about build-related activities to whichever channel the connector is configured. Below is the list of build activities that you can be notified against:

  • Build Start
  • Build Aborted
  • Build Failure
  • Build Not Built
  • Build Success
  • Build Unstable
  • Back To Normal
  • Repeated Failure

 

Adding Jenkins Connector in Teams

Go to connectors gallery by clicking ‘…’ next to the channel name. Add Jenkins connector and once the connector is installed, name the connector according to your needs and once the notifications are generated, you’ll see them coming from the Jenkins connector you just named.

 

Jenkins_ConfigureTeams.png

 

Copy the webhook url shown on the config experience page as you would need to enter this webhook url on Jenkins portal to configure your build notifications.

 

Configuring webhook in Jenkins

‘Office 365 Connector’ on the Jenkins portal needs to installed if not installed already. To install the connector go to ‘Manage Jenkins’  -> ‘Manage Plugins’ -> ‘Available’ section. Select and install ‘Office 365 Connector’ from the list. While installing the connector select ‘Install without restart’ option.

 

Once the connector is installed, setup the webhook copied from Microsoft Teams to start getting the notifications in the channel. Go to the Jenkins project you created and go to ‘Configure’ section. Once in ‘Configure’ view, go to ‘Office 365 Connector’ section and ‘Add Webhook’. Paste the URL copied from Microsoft Team, name your webhook and go to ‘Advanced’ section for the webhook and check all the notification boxes for which you want to receive events and save the webhook.

 

Jenkins_Webhook_NotificationSelection.jpg

 

Now whenever you kick off the build, you’ll see notifications in the Teams channel based what notifications you have configured. Below is the example of Jenkins notifications once received in Teams channel

 

Jenkins_BuildNotification.png

 

24 Comments
%3CLINGO-SUB%20id%3D%22lingo-sub-478363%22%20slang%3D%22en-US%22%3ERe%3A%20Stay%20up%20to%20date%20on%20your%20build%20activities%20with%20Jenkins%20integration%20in%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-478363%22%20slang%3D%22en-US%22%3E%3CP%3ESo%20just%20to%20confirm%2C%20no%20authentication%20needs%20to%20be%20configured%20in%20order%20to%20allow%20ANY%20Jenkins%20instance%20to%20write%20to%20Teams%3F%26nbsp%3B%20The%20URL%20is%20specific%20enough%20to%20uniquely%20identify%20the%20Teams%20instance%20and%20channel%20so%20permissions%20are%20are%20automatically%20implied%20by%20having%20the%20webhook%20URL%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-657068%22%20slang%3D%22en-US%22%3ERe%3A%20Stay%20up%20to%20date%20on%20your%20build%20activities%20with%20Jenkins%20integration%20in%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-657068%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F73058%22%20target%3D%22_blank%22%3E%40Bruce%20Weatherford%3C%2FA%3E%2C%20that's%20correct.%20URL%20will%20let%20the%20notifications%20flow%20in%20Teams%20and%20the%20specific%20channel.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-745254%22%20slang%3D%22en-US%22%3ERe%3A%20Stay%20up%20to%20date%20on%20your%20build%20activities%20with%20Jenkins%20integration%20in%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-745254%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20there%20a%20way%20to%20obfiscate%20secrets%20like%20password%20in%20case%20someone%20tries%20to%20pass%20that%20as%20part%20of%20the%20message%20similar%20to%20how%20Jenkins%20log%20itself%20does%20it%20if%20you%20try%20to%20print%20some%20password%20on%20the%20log%20output.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-916660%22%20slang%3D%22en-US%22%3ERe%3A%20Stay%20up%20to%20date%20on%20your%20build%20activities%20with%20Jenkins%20integration%20in%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-916660%22%20slang%3D%22en-US%22%3E%3CP%3EFor%20the%20future%20generations%20there%20is%20no%20%22Jenkins%20connector%22%20in%20MS%20Teams.%20You%20need%20to%20choose%3A%26nbsp%3B%3CSTRONG%3EIncoming%20Webhook%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-759005%22%20slang%3D%22en-US%22%3ERe%3A%20Stay%20up%20to%20date%20on%20your%20build%20activities%20with%20Jenkins%20integration%20in%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-759005%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20Connector%20seams%20to%20stop%20working%20for%20us%20on%2007-11-2019%20and%20we%20don't%20know%20why.%26nbsp%3B%3C%2FP%3E%3CP%3ETried%20to%20get%20more%20information%20with%20this%20curl%20call%3A%26nbsp%3Bcurl%20-H%20%22Content-Type%3A%20application%2Fjson%22%20-d%20%22%7B%5C%22text%5C%22%3A%20%5C%22Hello%20World!%5C%22%7D%22%20%3CYOUR%20webhook%3D%22%22%20url%3D%22%22%3E%3C%2FYOUR%3E%3C%2FP%3E%3CP%3EUnfortunately%2C%20the%20answer%20is%3A%26nbsp%3B%3CSPAN%20class%3D%22s1%22%3EWebhook%20message%20delivery%20failed%20with%20error%3A%20Microsoft%20Teams%20endWebhook%20message%20delivery%20failed%20with%20error%3A%20Microsoft%20Teams%20endpoint%20returned%20HTTP%20error%20403%20with%20ContextId%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22s1%22%3EWas%20there%20anything%20changed%20on%20MS%20side%20at%20this%20date%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22s1%22%3EUPDATE%3A%20was%20an%20internal%20problem%20-%20now%20fixed.%20And%20we%20use%20the%20%3CSTRONG%3EIncoming%20webhook%3C%2FSTRONG%3E.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1149504%22%20slang%3D%22en-US%22%3ERe%3A%20Stay%20up%20to%20date%20on%20your%20build%20activities%20with%20Jenkins%20integration%20in%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1149504%22%20slang%3D%22en-US%22%3E%3CP%3Ehi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F160135%22%20target%3D%22_blank%22%3E%40Amit%20Oberoi%3C%2FA%3E%20%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20it%20possible%20to%20configure%20Office%20365%20jenkins%20plugin%20globally%20in%20jenkins%20instead%20of%20individual%20project%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3CP%3ESabySan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1163940%22%20slang%3D%22en-US%22%3ERe%3A%20Stay%20up%20to%20date%20on%20your%20build%20activities%20with%20Jenkins%20integration%20in%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1163940%22%20slang%3D%22en-US%22%3E%3CP%3ECurrently%20on%20Microsoft%20teams%2C%20when%20I%20clicked%20connectors%26nbsp%3B%20option%20in%20channel%20settings%2C%20there%20was%20no%20option%20available%20for%20Jenkins%20notification%20Web-hook.%20Help%20me%20on%20this.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1164749%22%20slang%3D%22en-US%22%3ERe%3A%20Stay%20up%20to%20date%20on%20your%20build%20activities%20with%20Jenkins%20integration%20in%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1164749%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F551722%22%20target%3D%22_blank%22%3E%40Zeeshan_Ali%3C%2FA%3E%26nbsp%3Bplease%20confirm%20with%20your%20Teams%20admin%20that%20the%20Jenkins%20connector%20has%20not%20been%20disabled%20for%20your%20organization.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1211765%22%20slang%3D%22en-US%22%3ERe%3A%20Stay%20up%20to%20date%20on%20your%20build%20activities%20with%20Jenkins%20integration%20in%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1211765%22%20slang%3D%22en-US%22%3E%3CP%3EIncoming%20webhook%20security%20is%20big%20risk%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fmicrosoftteams.uservoice.com%2Fforums%2F555103-public%2Fsuggestions%2F32521762-incoming-webhook-security%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmicrosoftteams.uservoice.com%2Fforums%2F555103-public%2Fsuggestions%2F32521762-incoming-webhook-security%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20easily%20blast%20messages%20from%20outside%20of%20your%20organization%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1278181%22%20slang%3D%22en-US%22%3ERe%3A%20Stay%20up%20to%20date%20on%20your%20build%20activities%20with%20Jenkins%20integration%20in%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1278181%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20trying%20to%20send%20notifications%20from%20Jenkins%20to%20MS%20Teams.%20Able%20to%20successfully%20send%20notifications%20via%20command%20line%20(using%20curl%20command)%20but%20not%20able%20to%20send%20via%20Jenkins%20plugin.%20We%20are%20not%20getting%20any%20error%2C%20but%20the%20notifications%20are%20not%20received%20at%20Teams%20end.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3ECan%20someone%20provide%20a%20possible%20solution%20to%20address%20this%20issue%20please%3F%26nbsp%3B%3CBR%20%2F%3E-%20Raghav%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1278881%22%20slang%3D%22en-US%22%3ERe%3A%20Stay%20up%20to%20date%20on%20your%20build%20activities%20with%20Jenkins%20integration%20in%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1278881%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F607740%22%20target%3D%22_blank%22%3E%40raghvenk%3C%2FA%3E%26nbsp%3Bplease%20reach%20out%20to%20Microsoft%20Teams%20support%20to%20help%20troubleshoot%20this%20issue.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1280983%22%20slang%3D%22en-US%22%3ERe%3A%20Stay%20up%20to%20date%20on%20your%20build%20activities%20with%20Jenkins%20integration%20in%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1280983%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F488039%22%20target%3D%22_blank%22%3E%40ErinBailie%3C%2FA%3E%26nbsp%3B%40Thank%20you%20%3Athumbs_up%3A%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1369437%22%20slang%3D%22en-US%22%3ERe%3A%20Stay%20up%20to%20date%20on%20your%20build%20activities%20with%20Jenkins%20integration%20in%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1369437%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Team%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20unable%20to%20find%20Jenkins%20in%20teams%20connectors%2C%20Can%20anyone%20help%20regarding%20notification%20with%20teams%20and%20jenkins%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3ESaikrishna%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1372255%22%20slang%3D%22en-US%22%3ERe%3A%20Stay%20up%20to%20date%20on%20your%20build%20activities%20with%20Jenkins%20integration%20in%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1372255%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F659357%22%20target%3D%22_blank%22%3E%40saikrishna17%3C%2FA%3E%26nbsp%3BPlease%20confirm%20with%20your%20tenant%20administrator%20that%203P%20applications%20have%20been%20enabled%20for%20your%20tenant%2C%20and%20you%20are%20permitted%20to%20configure%20connectors%20for%20the%20channels%20you're%20trying%20to%20configure.%20Hope%20this%20helps!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1372681%22%20slang%3D%22en-US%22%3ERe%3A%20Stay%20up%20to%20date%20on%20your%20build%20activities%20with%20Jenkins%20integration%20in%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1372681%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F488039%22%20target%3D%22_blank%22%3E%40ErinBailie%3C%2FA%3E%26nbsp%3B%20Thanks%20for%20your%20update%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1539210%22%20slang%3D%22en-US%22%3ERe%3A%20Stay%20up%20to%20date%20on%20your%20build%20activities%20with%20Jenkins%20integration%20in%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1539210%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20also%20looking%20up%20this%20app%20-%20but%20I%20would%20like%20to%20know%20if%20there%20are%20any%20plans%20to%20make%20it%20bidirectionnal%20%3F%20we%20would%20also%20want%20to%20send%20commands%20to%20Jenkins%20from%20Teams.%20We%20are%20currently%20trying%20outgoing%20web%20hook%2C%20without%20success%20up%20to%20now.%20So%20if%20you%20have%20any%20recommendations%2C%20please%20let%20me%20know.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EJF%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1548834%22%20slang%3D%22en-US%22%3ERe%3A%20Stay%20up%20to%20date%20on%20your%20build%20activities%20with%20Jenkins%20integration%20in%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1548834%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F160135%22%20target%3D%22_blank%22%3E%40Amit%20Oberoi%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F488039%22%20target%3D%22_blank%22%3E%40ErinBailie%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EIs%20it%20possible%20to%20configure%20Office%20365%20Jenkins%20plugin%20globally%20in%20Jenkins%20instead%20of%20individual%20projects%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EIt%20will%20bee%20helpful%20if%20you%20can%20share%20a%20tip%20on%20how%20to%20connect%20the%20plugin%20once%20and%20all%20Jenkins%20projects%20in%20one%20Jenkins%20server%20will%20have%20the%20ability%20to%20report%20any%20build%20status%20I%20am%20interested%20in%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1588861%22%20slang%3D%22de-DE%22%3ESubject%3A%20Stay%20up%20to%20date%20on%20your%20build%20activities%20with%20Jenkins%20integration%20in%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1588861%22%20slang%3D%22de-DE%22%3E%3CP%3ECan%20you%20somehow%20send%20Mails%20instead%20of%20MS%20Teams%20notifications%20with%20the%20Office%20365%20Connector%3F%20or%20at%20least%20forward%20the%20MS%20Teams%20notification%20as%20a%20mail.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1738105%22%20slang%3D%22en-US%22%3ERe%3A%20Stay%20up%20to%20date%20on%20your%20build%20activities%20with%20Jenkins%20integration%20in%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1738105%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20does%20anyone%20know%20if%20you%20can%20receive%20notifications%20with%20the%26nbsp%3B%3CSPAN%3EOffice%20365%20Connector%20in%20a%20specific%20teams%20Chat%20instead%20of%20a%20channel%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1836046%22%20slang%3D%22en-US%22%3ERe%3A%20Stay%20up%20to%20date%20on%20your%20build%20activities%20with%20Jenkins%20integration%20in%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1836046%22%20slang%3D%22en-US%22%3E%3CP%3EI%20want%20the%20job%20to%20notify%20the%20channel%20using%20%22%20%40channel%20%22%20command%20incase%20of%20a%20job%20failure%20on%20jenkins.%20That%20way%20there%20would%20be%20a%20notification%20to%20all%20the%20Team%20members%20about%20the%20failure.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHas%20anyone%20done%20this%20%3F%20Any%20help%20on%20is%20appreciated.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2085046%22%20slang%3D%22en-US%22%3ERe%3A%20Stay%20up%20to%20date%20on%20your%20build%20activities%20with%20Jenkins%20integration%20in%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2085046%22%20slang%3D%22en-US%22%3E%3CDIV%20class%3D%22lia-message-body-wrapper%20lia-component-message-view-widget-body%22%3E%3CDIV%20class%3D%22lia-message-body%22%3E%3CDIV%20class%3D%22lia-message-body-content%22%3E%3CP%3EHi%2C%20does%20anyone%20know%20if%20you%20can%20receive%20notifications%20with%20the%26nbsp%3B%3CSPAN%3EOffice%20365%20Connector%20in%20a%20specific%20teams%20Chat%20instead%20of%20a%20channel%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2085228%22%20slang%3D%22en-US%22%3ERe%3A%20Stay%20up%20to%20date%20on%20your%20build%20activities%20with%20Jenkins%20integration%20in%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2085228%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F938340%22%20target%3D%22_blank%22%3E%40michaelbassi%3C%2FA%3E%26nbsp%3B-%20the%20Jenkins%20Connector%20works%20in%20a%20channel%20context.%20Microsoft%20Teams%20doesn't%20support%20group%20chat%20connectors.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-467440%22%20slang%3D%22en-US%22%3EStay%20up%20to%20date%20on%20your%20build%20activities%20with%20Jenkins%20integration%20in%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-467440%22%20slang%3D%22en-US%22%3E%3CP%20style%3D%22text-align%3A%20justify%3B%22%3EDuring%20my%20conversations%20with%20customers%20I%20usually%20get%20asked%20if%20Microsoft%20Teams%20support%20Jenkins%2C%20what%20all%20Jenkins%20notifications%20can%20be%20configured%20in%20teams%20and%20how%20does%20Jenkins%20notifications%20look%20in%20Teams.%20So%2C%20I%20decided%20to%20write%20up%20this%20article%20to%20explain%20how%20to%20configure%20Jenkins%20notifications%20in%20Teams.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20justify%3B%22%3EJenkins%20is%20one%20of%20the%20leading%20open-source%20continuous%20integration%20tool%20used%20for%20staying%20up%20to%20date%20on%20build%20related%20activities.%20Microsoft%20Teams%20is%20growing%20in%20DevOps%20space%20with%20over%2060%2B%20DevOps%20apps%20in%20its%20app%20store.%20Using%20both%20of%20these%20great%20software%20tools%20together%20have%20potential%20to%20bring%20efficiencies%20in%20your%20build%20workflow%20by%20keeping%20you%20always%20up%20to%20date%20on%20your%20build%20activities.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20justify%3B%22%3EJenkins%20connector%20in%20Microsoft%20Teams%20sends%20notification%20about%20build-related%20activities%20to%20whichever%20channel%20the%20connector%20is%20configured.%20Below%20is%20the%20list%20of%20build%20activities%20that%20you%20can%20be%20notified%20against%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EBuild%20Start%3C%2FLI%3E%0A%3CLI%3EBuild%20Aborted%3C%2FLI%3E%0A%3CLI%3EBuild%20Failure%3C%2FLI%3E%0A%3CLI%3EBuild%20Not%20Built%3C%2FLI%3E%0A%3CLI%3EBuild%20Success%3C%2FLI%3E%0A%3CLI%3EBuild%20Unstable%3C%2FLI%3E%0A%3CLI%3EBack%20To%20Normal%3C%2FLI%3E%0A%3CLI%3ERepeated%20Failure%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EAdding%20Jenkins%20Connector%20in%20Teams%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20justify%3B%22%3EGo%20to%20connectors%20gallery%20by%20clicking%20%E2%80%98%E2%80%A6%E2%80%99%20next%20to%20the%20channel%20name.%20Add%20Jenkins%20connector%20and%20once%20the%20connector%20is%20installed%2C%20name%20the%20connector%20according%20to%20your%20needs%20and%20once%20the%20notifications%20are%20generated%2C%20you%E2%80%99ll%20see%20them%20coming%20from%20the%20Jenkins%20connector%20you%20just%20named.%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20justify%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20justify%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Jenkins_ConfigureTeams.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F109350i604BEF6F06BB5C00%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Jenkins_ConfigureTeams.png%22%20alt%3D%22Jenkins_ConfigureTeams.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECopy%20the%20webhook%20url%20shown%20on%20the%20config%20experience%20page%20as%20you%20would%20need%20to%20enter%20this%20webhook%20url%20on%20Jenkins%20portal%20to%20configure%20your%20build%20notifications.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EConfiguring%20webhook%20in%20Jenkins%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20justify%3B%22%3E%E2%80%98Office%20365%20Connector%E2%80%99%20on%20the%20Jenkins%20portal%20needs%20to%20installed%20if%20not%20installed%20already.%20To%20install%20the%20connector%20go%20to%20%E2%80%98Manage%20Jenkins%E2%80%99%20%26nbsp%3B-%26gt%3B%20%E2%80%98Manage%20Plugins%E2%80%99%20-%26gt%3B%20%E2%80%98Available%E2%80%99%20section.%20Select%20and%20install%20%E2%80%98Office%20365%20Connector%E2%80%99%20from%20the%20list.%20While%20installing%20the%20connector%20select%20%E2%80%98Install%20without%20restart%E2%80%99%20option.%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20justify%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20justify%3B%22%3EOnce%20the%20connector%20is%20installed%2C%20setup%20the%20webhook%20copied%20from%20Microsoft%20Teams%20to%20start%20getting%20the%20notifications%20in%20the%20channel.%20Go%20to%20the%20Jenkins%20project%20you%20created%20and%20go%20to%20%E2%80%98Configure%E2%80%99%20section.%20Once%20in%20%E2%80%98Configure%E2%80%99%20view%2C%20go%20to%20%E2%80%98Office%20365%20Connector%E2%80%99%20section%20and%20%E2%80%98Add%20Webhook%E2%80%99.%20Paste%20the%20URL%20copied%20from%20Microsoft%20Team%2C%20name%20your%20webhook%20and%20go%20to%20%E2%80%98Advanced%E2%80%99%20section%20for%20the%20webhook%20and%20check%20all%20the%20notification%20boxes%20for%20which%20you%20want%20to%20receive%20events%20and%20save%20the%20webhook.%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20justify%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20justify%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Jenkins_Webhook_NotificationSelection.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F109351iF50F57B17D629A01%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Jenkins_Webhook_NotificationSelection.jpg%22%20alt%3D%22Jenkins_Webhook_NotificationSelection.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENow%20whenever%20you%20kick%20off%20the%20build%2C%20you%E2%80%99ll%20see%20notifications%20in%20the%20Teams%20channel%20based%20what%20notifications%20you%20have%20configured.%20Below%20is%20the%20example%20of%20Jenkins%20notifications%20once%20received%20in%20Teams%20channel%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Jenkins_BuildNotification.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F109352iB4CB086C07FC5A22%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Jenkins_BuildNotification.png%22%20alt%3D%22Jenkins_BuildNotification.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-467440%22%20slang%3D%22en-US%22%3E%3CP%3EGet%20your%20Jenkins%20build%20notifications%20in%20Microsoft%20Teams%2C%20your%20hub%20for%20Teamwork!%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-467440%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EApps%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2647290%22%20slang%3D%22en-US%22%3ERe%3A%20Stay%20up%20to%20date%20on%20your%20build%20activities%20with%20Jenkins%20integration%20in%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2647290%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20there%2C%20I'm%20stuck%20at%20the%20very%20first%20step.%20Can%20you%20tell%20me%20what%20are%20the%20prerequisites%20for%20having%20something%20displayed%20in%20the%20connector%20%3F%3C%2FP%3E%3CP%3EI%20guess%20we%20have%20a%20configuration%20issue%20but%20I%20do%20not%20see%20where.%26nbsp%3B%3CBR%20%2F%3EWhen%20I%20click%20on%20(...)%20and%20then%20select%20connectors%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22lmo34_0-1628894977517.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F303206i9F9A2B64E23E0173%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22lmo34_0-1628894977517.png%22%20alt%3D%22lmo34_0-1628894977517.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EA%20blank%20page%20appears%20%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22lmo34_1-1628895230485.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F303208i540B33477F91192B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22lmo34_1-1628895230485.png%22%20alt%3D%22lmo34_1-1628895230485.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20Microsoft%20Teams%20admin%20center%20I%20do%20not%20see%20anything%20related%20to%20connectors.%3C%2FP%3E%3CP%3EEverything%20is%20%22On%22%20nothing%20%22Off%22%20for%20Apps%3C%2FP%3E%3CDIV%20class%3D%22Vxs5wcvvPYMG2qN6J1HTT%22%3E%3CDIV%20class%3D%22Vt2yXYjLd41h3p9M6SAal%22%3E%3CDIV%20class%3D%22m_YdpO5_33Q22e4K9wQQN%20o365sx-appName%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22lmo34_2-1628895383993.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F303209i9FCE3C27348437DF%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22lmo34_2-1628895383993.png%22%20alt%3D%22lmo34_2-1628895383993.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20class%3D%22m_YdpO5_33Q22e4K9wQQN%20o365sx-appName%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22m_YdpO5_33Q22e4K9wQQN%20o365sx-appName%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22lmo34_3-1628895432612.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F303210i204487ED6C561884%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22lmo34_3-1628895432612.png%22%20alt%3D%22lmo34_3-1628895432612.png%22%20%2F%3E%3C%2FSPAN%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22lmo34_5-1628895747720.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F303212iCAC070C096C05853%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22lmo34_5-1628895747720.png%22%20alt%3D%22lmo34_5-1628895747720.png%22%20%2F%3E%3C%2FSPAN%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22Vt2yXYjLd41h3p9M6SAal%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22lmo34_6-1628895832161.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F303214i363A96C07E8C9311%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22lmo34_6-1628895832161.png%22%20alt%3D%22lmo34_6-1628895832161.png%22%20%2F%3E%3C%2FSPAN%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22Vxs5wcvvPYMG2qN6J1HTT%22%3E%3CDIV%20class%3D%22Vt2yXYjLd41h3p9M6SAal%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2745982%22%20slang%3D%22en-US%22%3ERe%3A%20Stay%20up%20to%20date%20on%20your%20build%20activities%20with%20Jenkins%20integration%20in%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2745982%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20it%20possible%20to%20send%20messages%20to%20a%20group%20chat%20that%20is%20not%20inside%20of%20a%20team%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Version history
Last update:
‎Jan 26 2021 01:16 PM
Updated by: