Integrate with GitHub: build after each commit (Get started with Jenkins, part 13)

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ธ.ค. 2024

ความคิดเห็น • 192

  • @bjarnesegaard5701
    @bjarnesegaard5701 4 ปีที่แล้ว +14

    Please make a video on the pipeline choice of Jenkins :) Thanks for a great video. And please, a video with a private repository . That would be great. Thanks :)

  • @Kembread
    @Kembread 7 ปีที่แล้ว +15

    This was so much easier than reading the documentation. Thanks very much!

    • @simplyexplained
      @simplyexplained  7 ปีที่แล้ว +4

      That is the goal of this channel ;)
      Glad you liked it!

  • @jraphicqesign
    @jraphicqesign 5 ปีที่แล้ว

    These serious videos fits the channel title very well: simply explained, no matter the material, presentation and voice. Appreciated!

  • @amamedov
    @amamedov 6 ปีที่แล้ว +1

    Amazing content. Short and sweet. Please continue to elaborate on Jenkins. Pipeline projects would be a great start.

  • @girija_prasanna2650
    @girija_prasanna2650 2 ปีที่แล้ว

    it is what you meant , simply explained. Thank you.
    If its possible please make a video on , forking a repo from production and after making changes in forked repo , raise a pull request to the upstream.Grateful.

  • @gulamrabbani7362
    @gulamrabbani7362 6 ปีที่แล้ว +11

    Hi, Savjee, great explanation could you plz explain the videos of pipline project as well

  • @openalpha01
    @openalpha01 7 ปีที่แล้ว +4

    I would love to see a series on Jenkins Pipelines.

    • @simplyexplained
      @simplyexplained  7 ปีที่แล้ว +1

      +openalpha01 it's on my list! I've been using it for quite a while now and it's really great. Now need to find some time to start working on a series ;)
      Anything in particular you would like to see besides the basics?

    • @openalpha01
      @openalpha01 7 ปีที่แล้ว

      I think it would be nice to see a video on working with the Jenkins REST API. Perhaps something simple as creating a job, with a basic build task.

    • @Josh-cx8yk
      @Josh-cx8yk 6 ปีที่แล้ว +1

      I am very interested in learning about Jenkins Pipelines especially when working with multiple GitHub repositories that contribute to one build.

  • @mohitgupta8509
    @mohitgupta8509 4 ปีที่แล้ว +2

    Please do a video on integrating Jenkins with Git-Lab and trigger the QA job every time Dev commits something

  • @harshdhanani8831
    @harshdhanani8831 ปีที่แล้ว

    please make a video on pipeline as well. much appreciated and thanks for the previous videos as well. I really enjoyed it : )

  • @MrJebin
    @MrJebin 6 ปีที่แล้ว +62

    Need private repository

    • @FaizanMehdi1989
      @FaizanMehdi1989 6 ปีที่แล้ว +4

      Me too.. @Savjee - Kindly provide a link to the video if you already made one

    • @AgitNaeta
      @AgitNaeta 4 ปีที่แล้ว

      agree also i need private repository

    • @davidkramer2948
      @davidkramer2948 4 ปีที่แล้ว

      Same. EVERY example I see is how to use GitHub for Jenkins authentication, not how to get Jenkins to pull from GitHub

  • @omswastik9245
    @omswastik9245 2 ปีที่แล้ว

    Hi Savjee,It is showing an error with local host url. how to resolve this?

  • @Fer-us4ny
    @Fer-us4ny 3 ปีที่แล้ว

    very nice explication. but when push another branch also trigger Jenkins. how specific the branch to build?

  • @eladdieyo84
    @eladdieyo84 5 ปีที่แล้ว

    Definitely make the pipeline project. It is better to have it and not need it than to need it and not have it. Great work btw

  • @tainoroyal6585
    @tainoroyal6585 6 ปีที่แล้ว +1

    Great video! Explains things way more clearly than the pluralsight course

  • @sandym6779
    @sandym6779 5 ปีที่แล้ว +1

    I have a Jenkins server behind a VPN & a private github repository. How can I establish connection from git to Jenkins via webhook when each commit occurs?

  • @ShreyasPBabu
    @ShreyasPBabu 7 ปีที่แล้ว

    A series on Jenkins pipeline would definitely help!

  • @Iamdip1
    @Iamdip1 6 ปีที่แล้ว +1

    I think one thing is missing in this video, how my public github repo will be allowed to trigger the build until there is any user credential or certificate established!! Please respond

  • @AmanKhare94
    @AmanKhare94 5 ปีที่แล้ว +1

    Hi,
    I am following exact same steps but my build is not getting triggered. Only difference is that I am using a private github repo.
    Jenkins version is 2.164.3
    Can you help on this ?

  • @songyuezheng4294
    @songyuezheng4294 3 ปีที่แล้ว

    Thanks for your sharing, could you explain how to access jenkins via public ip?

  • @piyushdhameja2173
    @piyushdhameja2173 2 ปีที่แล้ว

    Do you have a video using a private repository?

  • @kousiksinha6171
    @kousiksinha6171 4 ปีที่แล้ว

    This is very good and informative and to the point. Please make a video with Private Repository.

  • @gargiamit11
    @gargiamit11 5 ปีที่แล้ว

    wonderful and simply explained... please post more videos on Jenkins with other tools like SonarQube, Selenium, etc

  • @diegoramos27
    @diegoramos27 4 ปีที่แล้ว

    5:36, is it always /github-webhook/ the url that we have to use ? Thanks

  • @faadi4536
    @faadi4536 3 ปีที่แล้ว

    Kudos to you. you made it very simple for me. i was successful in this integration thanks to you.

  • @saranyar8926
    @saranyar8926 4 ปีที่แล้ว

    Is it possible to build only if a particular file is changed

  • @bhagyashreejoshi3797
    @bhagyashreejoshi3797 4 ปีที่แล้ว

    hey,
    Thanks for the video.
    I followed the steps.
    But after webhook, updating code and committing changes.Jenkins build was not triggered.Any reason?

  • @PratikLawate
    @PratikLawate 5 ปีที่แล้ว

    what are the prerequisits ??? mine is not connecting . i am using local vm and jenkins.

  • @piyush42962
    @piyush42962 3 ปีที่แล้ว

    Hi savjee. This was actually nice and easy to execute. Thanks

  • @metalejo
    @metalejo 4 ปีที่แล้ว

    Is there an example of the pipeline way?

  • @apoorvan4608
    @apoorvan4608 3 ปีที่แล้ว

    I pasted the SSH URL of the git repo in the Jenkins source code mgmt section and got this error:
    code 128:
    stdout:
    stderr: Permission denied (publickey).
    fatal: Could not read from remote repository.
    Please make sure you have the correct access rights
    and the repository exists.
    Any ideas on why? I googled a bunch of things. Main thing that popped up was to do "Manage Jenkins" but my enterprise jenkins does not have that option so anything else i could try ?

  • @ameyabhyankar4944
    @ameyabhyankar4944 3 ปีที่แล้ว

    How to achieve this if my Jenkins is in private subnet? Thanks.

  • @WinWheels_21
    @WinWheels_21 6 ปีที่แล้ว

    Hi, can you please show how can we achieve this on Jenkins pipeline.....

  • @rohitkatoch889
    @rohitkatoch889 5 ปีที่แล้ว

    Hi, I am facing issue in jenkins. everytime i push something new i have to click on build now option in jenkins. Can you please help with that?

  • @venkatsm8912
    @venkatsm8912 6 ปีที่แล้ว

    Thanks a lot for creating video. I have encountered error and do we need to make any configurations in service&integration?
    Please make a video on private repository also.

  • @uutkarshsingh
    @uutkarshsingh 7 ปีที่แล้ว +2

    Thanks for making such videos. Your videos are a saviour.

  • @mahammadali1102
    @mahammadali1102 6 ปีที่แล้ว

    Why don't we use poll SCM functionality, it's also the same thing right ??

  • @ambidextrous2010
    @ambidextrous2010 5 ปีที่แล้ว +1

    I am getting 302 error upon integrating my Jenkins webhook endpoint with Github

    • @mariomenezes
      @mariomenezes 5 ปีที่แล้ว

      I'm getting this same error. Did you solved?

  • @gmmurad9117
    @gmmurad9117 4 ปีที่แล้ว

    When i add webhook it said this "There was an error setting up your hook: Sorry, the URL host localhost is not supported because it isn't reachable over the public Internet". What i have to do ??

  • @ganapathisubramanyamjayam
    @ganapathisubramanyamjayam 3 ปีที่แล้ว

    if i run jenkins on my local host then how should i configure my webhook in github?

  • @snehaaandal5477
    @snehaaandal5477 4 ปีที่แล้ว

    Thank you so much . It is so easy to understand. Could you please explain all the options with GitHub and next steps after build

  • @kayemanuel2663
    @kayemanuel2663 4 หลายเดือนก่อน

    Thank you so much!!! You saved my ass in my uni assessment :)

  • @ashishverma6119
    @ashishverma6119 4 ปีที่แล้ว

    Added the Jenkins url into github webhook but its not validated giving error as last delivery was not successful. failure when receiving data from the peer. Please gives me solution

  • @619trading9
    @619trading9 3 ปีที่แล้ว

    Why arent you using pipeline?

  • @ivanpedro7667
    @ivanpedro7667 4 ปีที่แล้ว

    please could you make an example with login with private repo?

  • @dpassaacademicwriters9984
    @dpassaacademicwriters9984 6 ปีที่แล้ว +4

    Hi Savjee, Thanks for the video, pipeline plz

  • @oussamaqazdar4787
    @oussamaqazdar4787 3 ปีที่แล้ว

    My jenkins server is running on localhost , is there a way to webhook it in github ,or is it impossible without an external ip adress

  • @sudhirkumar78
    @sudhirkumar78 5 ปีที่แล้ว

    Thank you Savjee for this great demo.

  • @wazeeharaa8100
    @wazeeharaa8100 2 ปีที่แล้ว

    How to trigger code coverage when pull request raised

  • @independence_1947
    @independence_1947 5 ปีที่แล้ว

    Hi How can I trigger build for only those files (out of 5 ) that are changed. I use curl command to put the updated file. It works for one file but it gets tricky for all those 5 files that are in the same repo that needs to updated in master only for those files updated

  • @rakeshshelar7135
    @rakeshshelar7135 6 ปีที่แล้ว

    HI, is your Jenkins is hosted on public IP? because in my case Github hooks cannot communicate with my Jenkins with an error. in our case Private git and local Jenkins situated in our network with local private IP address

  • @dineshk2537
    @dineshk2537 7 ปีที่แล้ว

    Hai savjee !!! When i created a webbook it is showing the following error - " Last delivery was not successful - invalid http response -404 " what should i do ?????????????

  • @tonyc2227
    @tonyc2227 5 ปีที่แล้ว

    How to trigger a Jenkins job from github when the Jenkins instance is behind a firewall and not accessible on there internet ?

  • @abdeljelilskander1761
    @abdeljelilskander1761 5 ปีที่แล้ว +1

    Need a video on how to configure private repository with a Maven (POM) project

    • @deepakdhyani1693
      @deepakdhyani1693 4 ปีที่แล้ว

      I also want that.
      Please let me know if anyone able to find the video.

  • @doggybark4502
    @doggybark4502 5 ปีที่แล้ว

    Hello, i did everything on this video, but my job doesnt run after a commit, only when I press build, any answers to what it could be? hopefully somebody answers soon need these information for a presentation

  • @achhintkumarupadhyay4363
    @achhintkumarupadhyay4363 3 ปีที่แล้ว

    Can Any Once help me with web-hook url as I am running my Jenkins on localhost ?

  • @jawharmbarek8096
    @jawharmbarek8096 7 ปีที่แล้ว +2

    good video can you provide us with another one where the Git repo is private

    • @simplyexplained
      @simplyexplained  7 ปีที่แล้ว +2

      +Jawhar Mbarek Yes, it's been on my to-do list for a while now. Will move it up and make it soon! Thanks for your suggestion!

  • @jerry5646
    @jerry5646 6 ปีที่แล้ว +1

    could you explain system configuration for GitHub Pull Request Builder?

    • @shivajinaga7893
      @shivajinaga7893 5 ปีที่แล้ว

      Yes, please explain the pull request builder

  • @NG162
    @NG162 5 ปีที่แล้ว

    what if there is no checkmark in front of restart jenkins option???

  • @w45CLM
    @w45CLM 4 ปีที่แล้ว

    How do you do it with a private repo?

  • @abhinavbhardwaj7121
    @abhinavbhardwaj7121 4 ปีที่แล้ว

    Hello Savjee, Thank you for the useful video. For those who are working on organization network and hosts jenkins locally on intranet, is there any way to connect webhook from GIT to Jenkins. I am getting unable to reach URL because Jenkins is on company-hosted intranet whereas GIT on Internet. Thanks in advance for the reply

  • @NG162
    @NG162 5 ปีที่แล้ว

    it couldn't connect to the server so my webhook is not successfully created what to do?

    • @abhishekahirrao4271
      @abhishekahirrao4271 5 ปีที่แล้ว

      I have the same problem let me know if you find the solution

  • @ramadanmoheyeldeen6252
    @ramadanmoheyeldeen6252 7 ปีที่แล้ว

    I have Run Jenkins on a docker container and I did what you did as it is , step by step and It doesn't build when I push to github repo , Thanks in advance

  • @cggirl7481
    @cggirl7481 3 ปีที่แล้ว

    Could you please make a video on CICD pipeline build using Git tag?

  • @sumithwaghmare7973
    @sumithwaghmare7973 6 ปีที่แล้ว

    Can you please create a pipeline job and trigger it from the private repository?

  • @ManojKumar-ox6fy
    @ManojKumar-ox6fy 6 ปีที่แล้ว

    Iam not getting proxy server settings..I gave localhost and proper port as given in proxy settings.and gave something in advance-proxyconfiguration..can u help me

  • @prashantht.v8289
    @prashantht.v8289 5 ปีที่แล้ว +1

    Cool Video...Thanks for such a simple and neat explanation

  • @PkStudio56
    @PkStudio56 4 ปีที่แล้ว

    Need video on private repository

  • @rohitranjan7322
    @rohitranjan7322 5 ปีที่แล้ว

    Hi can you please help me out how to execute maven project from jenkins on every commit on github..my jenkins is installed locally

  • @irfan4701
    @irfan4701 6 ปีที่แล้ว

    Hi,
    Thank you for sharing such a valuable info.
    Can you please make a video doing the same thing with svn?
    also how can i take only commited files from svn to deployment?
    Thanks

  • @murageshmurali5838
    @murageshmurali5838 4 ปีที่แล้ว +1

    Getting this error "We couldn’t deliver this payload: Failure when receiving data from the peer"

    • @yashdixit8378
      @yashdixit8378 4 ปีที่แล้ว

      u need a public ip

    • @yashdixit8378
      @yashdixit8378 4 ปีที่แล้ว

      stackoverflow.com/questions/42037370/jenkinsgithub-we-couldn-t-deliver-this-payload-couldnt-connect-to-server
      This link will solve your problem.

  • @sidharthvijayakumar3521
    @sidharthvijayakumar3521 4 ปีที่แล้ว

    I am getting Failed to connect to repository : Error performing git command when i pasted my url. can u please help ?

  • @yukselbey913
    @yukselbey913 2 ปีที่แล้ว

    Please make a video on the pipeline choice of Jenkins :) using groovy

  • @abhisektripathy1356
    @abhisektripathy1356 6 ปีที่แล้ว

    How to achieve in a multibranch pipeline ? can u please show us or if you have any reference also please share.

  • @MayurPatil
    @MayurPatil 6 ปีที่แล้ว

    Please make series on Jenkins Pipeline. A lot of uncleared stuff is there. Jenkins file, multibranch, master slave. It will be a great help.

    • @simplyexplained
      @simplyexplained  6 ปีที่แล้ว

      Yeah pipelines are great but often confusing.. I'll look into it!

  • @lucasbraga461
    @lucasbraga461 5 ปีที่แล้ว

    Could you make a series on jenkins pipelines?

  • @ramatulluri1743
    @ramatulluri1743 5 ปีที่แล้ว

    Hi,
    I am following exactly the same steps but my build is not getting triggered. can someone help me out?
    Thanks in advance

  • @prashantkoli6327
    @prashantkoli6327 7 ปีที่แล้ว +1

    I got an issue "We couldn’t deliver this payload: Couldn't connect to server" I am trying to connect localhost

    • @TechTrend_Universe
      @TechTrend_Universe 5 ปีที่แล้ว

      Please don't use localhost instead of this use ip

    • @anantshekhar698
      @anantshekhar698 3 ปีที่แล้ว

      @@TechTrend_Universe which ip?

  • @dhineshkumarthangaraj474
    @dhineshkumarthangaraj474 3 ปีที่แล้ว

    Hi, Hope you are doing good! Could you please make one video with Private Github Repo as well

  • @kamalkamals
    @kamalkamals 5 ปีที่แล้ว

    what about auto pull on the server after push to gitlab

  • @souvikbiswas6101
    @souvikbiswas6101 6 ปีที่แล้ว

    Please share link to configure for Private GITHUB Repository

  • @harshadaggupati3896
    @harshadaggupati3896 7 ปีที่แล้ว +1

    nice video Savjee. I have a query..Can we do this (build after each commit) when we are running jenkins on our local machine(127.0.0.1:8080)?.

    • @simplyexplained
      @simplyexplained  7 ปีที่แล้ว +3

      You can, but it's rather difficult. GitHub needs a way to access your local Jenkins machine. However your modem/router will prevent that from happening (NAT). It's also likely that you have a dynamic IP address that changes every so often. So to make it all work you need 1) to configure port forwarding on your router and 2) a fixed IP address or a service that automatically links a domain name to your dynamic IP (like DynDNS, ..).
      It's not that easy to set up, and it's pretty fragile. Consider renting a cheap VPS somewhere and running Jenkins from that.

  • @Iamdip1
    @Iamdip1 6 ปีที่แล้ว

    fantastic, so crisp and simple you made it.

  • @saibalusu3139
    @saibalusu3139 3 ปีที่แล้ว

    i dont know why plugins installation failure are occurring

  • @TheBoredTraveler
    @TheBoredTraveler 5 ปีที่แล้ว

    Thankyou savjee, this video was very helpful for me

  • @jeison69
    @jeison69 6 ปีที่แล้ว

    isnt this video repeated? is the same as part number 4

  • @khayn
    @khayn 5 ปีที่แล้ว +1

    Thank you! Very well explained, thanks to you it took me 5 minutes to configure ;-)

  • @dasrakhadka9135
    @dasrakhadka9135 6 ปีที่แล้ว

    Thanks for the video, Could you make a video where for every fail build which is triggered by commit in master branch sends notification to the email related with dev branch equivalent of the commit. My plan here is that all developers will work on Dev Branch only so they will not be commiting in Master branch to initiate a build and there will be extra person who will be merging those commits from Dev to Master branch and I am wondering if it is possible in Jenkins to create a post build action which sends email if build fails and the recepient of that email should be a developer who pushed the commit to the Dev Branch but not a gatekeeper who merged Dev to Master Branch.

  • @swaminarayan2012
    @swaminarayan2012 3 ปีที่แล้ว

    Can you please make video with private repository?

  • @Safar_With_Madhu
    @Safar_With_Madhu 2 ปีที่แล้ว

    Hi Doing same things but not build is railing

  • @ashishverma6119
    @ashishverma6119 4 ปีที่แล้ว

    I followed as same way but its not working..

  • @debrajpradhan5500
    @debrajpradhan5500 3 ปีที่แล้ว

    Sir, it showing error.
    Git tool : none .
    Kindly help 🙏

  • @punithbasavaraj
    @punithbasavaraj 5 ปีที่แล้ว

    Hi..Please add an video to demonstrate for private repository

  • @arjunt3618
    @arjunt3618 6 ปีที่แล้ว

    Hi Savjee, very clear video.. Could u make a video for the github installed on local server please ?

    • @akashshah1080
      @akashshah1080 5 ปีที่แล้ว

      Would it be possible for Github to connect to your local-server?
      As per my undertanding, it wouldn't be possible since Github is on ther internet and the local-server is on the LAN. i.e. the LAN can access the internet but the internet cannot access the LAN. Savjee too mentions it in the beginning of the video - a Jenkins server on the internet.

  • @Voronza
    @Voronza 5 ปีที่แล้ว

    Thanks. The private repository would be really nice.

  • @vadimpasat8385
    @vadimpasat8385 3 ปีที่แล้ว

    Can someone please explane me how to indicate Payload URL from GitHub if Jenkins is set up localy. Thank you in advance.

  • @kumarabhishek7877
    @kumarabhishek7877 5 ปีที่แล้ว

    ** Wonderful explanation of the concept with very easy languagle. Please also share for private repository

  • @youssefrouane2807
    @youssefrouane2807 5 ปีที่แล้ว

    How can we get different adress than localhost, my jenkins is installed locally, when i try this using localhost it seems that it doesn't work, i get a red warning in the web hooks interface

    • @simplyexplained
      @simplyexplained  5 ปีที่แล้ว

      You have to host your Jenkins on a server somewhere. Like on DigitalOcean, Linode, AWS, ...

  • @abhishekkrishna3979
    @abhishekkrishna3979 6 ปีที่แล้ว

    After adding the webhook I am getting an warning message in the Webhooks section as "Last delivery was not successful. Couldn't connect to server." . Please help me how to resolve the issue. Thanks

    • @PaulPhoenixRana
      @PaulPhoenixRana 5 ปีที่แล้ว

      Same problem. Did you find any solution for this ??

  • @surajitroy9653
    @surajitroy9653 6 ปีที่แล้ว

    Hi thanks for this very useful video, I am looking for Jenkins integration with local git repository, can you please help.

  • @DCDJunkie
    @DCDJunkie 5 ปีที่แล้ว

    How to checkout from specific commit id