Тёмный

Github WebHook Integration with Jenkins 

crudsinfotech NG
Подписаться 1,7 тыс.
Просмотров 6 тыс.
50% 1

Опубликовано:

 

8 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 5   
@goodnessofgod108
@goodnessofgod108 5 месяцев назад
Thank you very much☺ It is very useful
@mhiriichrak6735
@mhiriichrak6735 6 месяцев назад
Thank's a lot it helps me !!good job
@canye1662
@canye1662 Месяц назад
Nice videos... got a quick question how can you tigger a specific folder in same branch with 5 different micro service in different folders, let say you update just one folder in want only that folder changes be build, how u do that with freestyle project web hook setup.
@crudsinfotechng8127
@crudsinfotechng8127 Месяц назад
Hello, Not sure if I understand your requirement but this is how it works: - WebHooks payloads contain information about the specific code changes in the GitHub Repository - which branch, what code etc etc - Once Jenkins gets this hook trigger from a specific repository, Jobs in Jenkins can be connected using Post Build actions (free style project) so that they can trigger one or more jobs (in your case, if there are multiple jobs - one each for every microservice, they can all be triggered from one main job which receives the web-hook) - In Git, you have a concept of sub-modules - where-in repository within repository are allowed and you could probably explore this as well - Additionally, if your micro service is Java & maven based, maven POM also has a concept of sub-modules and you can explore this as well From a Continuous Integration concept, the recommended is to build only those repositories & branches that have code changes. Hope this helps.
@PP-km8uh
@PP-km8uh 10 дней назад
He is asking in repo there are multiple folders and any changes made in 1 folder so that should be trigger. But I guess he did not understand about webhook. Webhook works on repo , so if you make change in any repo the build will get triggered bro it is not working on folder it works on repo. And if you are working on micro services then for each micro service you need to create repo
Далее
How to Add Git Credentials in Jenkins
12:13
Просмотров 52 тыс.
🍎 Apple Pie Cinnamon Roll Donut #Shorts
00:21
Просмотров 3,1 млн
БЫСТРАЯ сборка ПК - от А до Я!
00:22
Github Actions - Введение в CI/CD
1:56:11
Просмотров 84 тыс.
GitHub Basics Made Easy: A Fast Beginner's Tutorial!
23:30
Jenkins GitHub WebHooks Example
6:35
Просмотров 10 тыс.