צור Webhook של Roost
מדריך זה יסייע לך ביצירת Webhook באופן ידני במאגרים (Repositories) שלך ב-Git, כדי ש-Roost יוכל להאזין לאירועי Git שלך.
בעוד של-Roost יש אפשרות ליצור Webhooks באופן אוטומטי אם מספקים לה אסימון גישה אישי (Personal Access Token) עם הרשאות מנהל למאגר, במידה שברצונך לספק גישה לקריאה בלבד – יהיה עליך ליצור את ה-Webhooks באופן ידני.
Webhook של GitHub
1. נווט למאגר ה-GitHub שלך.
2.לחץ על "Settings".

3. לחץ על "Webhooks".

4.לחץ על "Add webhook".

5. בכתובת ה-Payload הוסף:
https://<enterprise-dns>/api/application/client/git/events/add סוג התוכן כ־"application/json".
6. לחץ על "Let me select individual events"

7. בחר "Pull Requests", "Pushes" ו-"Releases" בבחירת האירועים.

8. לחץ על "Add webhook".

Webhook של GitLab
1. נווט למאגר ה-GitLab שלך.

3. https://<enterprise-dns>/api/application/client/git/events/add בכתובת ה-URL הוסף:

4. גש לחלק ה-Trigger ובחר "Push events", "Merge Request Events" ו-"Release Events"

5. לחץ על "Add webhook"..

Webhook של Bitbucket Cloud
1. נווט למאגר ה-Bitbucket שלך.
2. בסרגל הצד השמאלי לחץ על "Repository Settings".

4.לחץ על "Add webhook".

5. בכותרת (Title) הוסף שם עבור ה-Webhook.

6. https://<enterprise-dns>/api/application/client/git/events/add בכתובת ה-URL הוסף:

7. גש לחלק ה-Trigger ובחר "Created", "Updated", "Merged", "Declined" ו-"Push".

8. לחץ על "Save".

Webhook של Bitbucket Server
-
נווט למאגר ה-Bitbucket Server שלך שהוספת בזרימת העבודה של Roost EaaS.
-
לחץ על "Repository settings".

-
לחץ על "Webhooks".
-
לחץ על "Create webhook".

-
הזן שם כ־"roost-webhook", וכתובת URL כ־
https://<enterprise-dns>/api/application/client/git/events/add.

-
בחר באירועי "Push" ובאירועי Pull Requests: "Opened", "Source branch updated", "Modified", "Merged", "Declined", "Deleted".

-
לחץ על "Create".

Azure Devops Webhook
2. Click on "Project settings" (at bottom left corner)

3. Click on "Service hooks" -> "Create Subscription"->next


4. Click on the dropdown & select "Code pushed"


5. Select specific repository and branch or select any and click on next



7. Click on Finish

8. Repeat the same process for "Pull request Created" & "Pull request Merged"
