« לעמוד הראשי

הדגמה: אינטגרציה בין Jenkins ל- Mattermost המאפשרת יותר שיתוף ואוטומציה של תהליכי CI

mattermost jenkins-ci integration

Mattermost, בדומה ל- Slack, יכול לאפשר יותר שיתופי פעולה בין אנשי הפיתוח וה- DevOps בעבודה היומיומית. להלן סרטון קצר עם כמה דוגמאות לחיבורים אפשריים בין Jenkins ל- Mattermost, המאפשרות בין היתר:

  • הרצת builds ו- CI  מתוך Mattermost (באמצעות פקודת slash)  או הרצה של כל מה שתרצו (אפשר לפתח פעולות בעצמכם). זה מאפשר בעצם לכל מי שבעל עניין לראות את פעולת ה- build וכיצד היא מתקדמת (ולא שרק איש פיתוח /DevOps בודד יוכל לראות זאת )
  • ניתן ליצור ערוצים לפי כל צורך – למשל ל- builds מוצלחים (שהסתיימו בהצלחה), ל- acceptance tests וכד' (ניתן לצפות בדקה 1:10 בסרטון). אפשר כך גם לעדכן אנשים רלוונטים בכך שזה הסתיים בהצלחה.
  • יצירת ערוץ ייעודי ל- build שנכשל למשל – כדי לדסקס ולבצע פעולות מסביבו (כמו לבקש ממישהו שיתקן זאת – בדקה 2:00 בסרטון). השיחה סביב זה תהיה זמינה לכל האנשים הרלוונטיים, בערוץ ייעודי וכמסר מיידי שניתן לקרוא מהמחשב או מהטלפון הנייד – מה שלפעמים יעיל יותר ממיילים ארוכים.
  • יצירת bot ("בוט") בעצמכם, היבצע אוטומציה של מה שתגדירו לו.

 

מוזמנים לצפות בסרטון: [3 דקות]

 

ניתן להשתמש ב- Mattermost ע"י התקנת שרת פרטי משלכם או גם לצרוך אותו באמצעות הענן (ניתן לפנות אלינו ולקבל trial – הפרטים בהמשך).

באופן דומה לחיבור מול Jenkins , ניתן ליצור שיתופים ואוטומציות לכלי CI דומים כמו GitLab CI/CD , וכן חיבורים לכלים נוספים בתהליכי פיתוח ו- CI/CD כגון Jira, GitHub, GitLab, Bitbucket ועוד

ניתן גם להשתמש ביכולת החדשה יחסית של Incident Manager המגיע עם Mattermost Enterprise – בכדי להשיג יכולת ניהול אירועים (כגון תקלות המצריכות התערבות מהירה של כמה גורמים בארגון). ניתן לקרוא על Incident Manager במאמר הבא.

מוזמנים לפנות אלינו לשאלות בנושא Mattermost וכן קבלת trial או גירסא חינמית – אנו נציגי היצרן הרשמיים בישראל ובאירופה, ומספקים הן מענה טכנולוגי ותמיכה במוצר, והן מכירת רישוי למוצר הן בענן והן על שרת פרטי משלכם.  Mattermost@almtoolbox.com  או טלפונית 072-240-5222

 

קישורים רלוונטיים:

 

Transcription

Software releases go through extensive functional performance and progression testing.

This is difficult to track and manage at scale.

We're going to show you how to accelerate testing using Mattermost and our Jenkins workflow integration.

Built by developers for developers, Mattermost is the flexible open source messaging platform that enables secure collaboration for DevOps teams.

Mattermost API

Mattermost is API centric allowing you to automatically create a new channel per pipeline and integrate it with the appropriate Jenkins instance.

Instead of login into Jenkins, we create the build from Mattermost. This creates a package in Jenkins and queues it.

As the build executes the bot updates progress in Mattermost, allowing all stakeholders – not just build engineers – to see build progress.

Updates can be placed into a channel created for the Sprint or as in this case a channel for acceptance testers.

As the new builds are completed messages will be posted to the channel and the stakeholders in the channel will be notified.

They will also see a build is waiting for them as the name of the channel has been bolded.

Once testers see a build is waiting, testers find all relevant collateral, pinned to the top of the channel, available with a single click.

When a build fails it is handled by a different set of people through a different process. We can see the notification that the build was kicked off in the CI/CD build pipeline channel.

As this integration is live you can click through to the build in Jenkins to obtain greater details about its execution.

When a Build fails its status will be posted to the appropriate channels.

Use channels

Mattermost can automatically create a new channel to collaborate on the triage of the failed build job. The proper people are automatically invited to this channel based upon the rules you specify.

Mattermost allows your team to have a threaded conversation about resolving the issue.

sometimes this involves inviting non-core team members to assist. Susan is notified within Mattermost she identifies channels with messages

requiring her attention through the bolding of the channel names on the left.

Susan expands the conversation pane and reaches out directly to Tom.

Susan does not however see the acceptance nor the CI/CD build channels. Channel membership can be restricted or

open this allows you to easily find and secure information relevant to each individual.

Mattermost allows more efficient group collaboration which leads to greater throughput in your pipelines.

Mattermost allows you to collaborate seamlessly resolve issues and increase velocity by integrating systems, people and processes into a single workspace.

Tens of thousands of users across hundreds of the world's leading enterprises use Mattermost.

To find out how customers like Bank of America, Samsung and NASA use Mattermost or to

try it for yourself, contact us at mattermost@almtoolbox.com