Hi @Ranjit Swain, Based on the wildcard, jenkins is creating multiple pipelines.But here my doubt is, how the build is gonna made, Did you already placed Jenkinsfile inside each branch(as we mentioned wildcard). Could you please clear. Thanks in advance.
I got my answer after going through your another video. Thanks. CONFIGURE GITHUB WEBHOOK IN JENKINS MULTIBRANCH PIPELINE th-cam.com/video/HgagJQSHLvc/w-d-xo.html
Hi @atexnik, yes indeed you can use freestyle job setup but with Jenkinsfile we will the complete automation by writing scripts which will make it robust and more stable
Hi, Definitely webhook can be setup in git to trigger multibranch pipeline. Here is the video you can refer. CONFIGURE GITHUB WEBHOOK IN JENKINS MULTIBRANCH PIPELINE th-cam.com/video/HgagJQSHLvc/w-d-xo.html
Hi @maheshnarayantripathi4868, every branch will have different Jenkinsfile and we can set up the different server name in each pipeline. If you are using single pipeline for all branches then you have to pass the server name based on the branch in condition.
Hi Rnajit Thank you for the explanation in very simple language.
Thanks for your valuable feedback
Hi @Ranjit Swain,
Based on the wildcard, jenkins is creating multiple pipelines.But here my doubt is, how the build is gonna made, Did you already placed Jenkinsfile inside each branch(as we mentioned wildcard). Could you please clear. Thanks in advance.
I got my answer after going through your another video. Thanks.
CONFIGURE GITHUB WEBHOOK IN JENKINS MULTIBRANCH PIPELINE
th-cam.com/video/HgagJQSHLvc/w-d-xo.html
Can we use GUI instead of Jenkinsfile?
Hi @atexnik, yes indeed you can use freestyle job setup but with Jenkinsfile we will the complete automation by writing scripts which will make it robust and more stable
Hi Ranjith,
This video was very beneficial for me. Just one question can we add webhooks for each branch separately in multi branch setup
Good stuff.
How to setup webhook to be send only for 'main' using pipeline project type all while writing the Jenkins file using script groovy?
Hi @ElyesBoudhina, sorry, for the late reply, I will be making a video shortly on this.
Does multibranch pipeline not require any webhooks to be setup in git repository? Only the multibranch pipeline plugin installtion in jenkins enough?
Hi,
Definitely webhook can be setup in git to trigger multibranch pipeline. Here is the video you can refer.
CONFIGURE GITHUB WEBHOOK IN JENKINS MULTIBRANCH PIPELINE
th-cam.com/video/HgagJQSHLvc/w-d-xo.html
Sir, If we use webhook trigger, will it applicable to all branches or current branch only?
Yes, it will be applicable for all branches
@@RanjitSwain How to setup webhook to be send only for 'main' using pipeline project type all while writing the Jenkins file using script groovy?
sir want to depoy the code from multibranch pipeline to their respective location(Apache-Server). How can we do this ?
Hi @maheshnarayantripathi4868, every branch will have different Jenkinsfile and we can set up the different server name in each pipeline.
If you are using single pipeline for all branches then you have to pass the server name based on the branch in condition.
am getting
"specified file not found' error in the console even though I have given my GitHub credentials and my repo is public
Hi, make sure the Jenkinsfile name is accurate in your repo as well as in Jenkins job setup.
@@RanjitSwain thanks for response.
I solved it by providing proper git.exe path
I tried looking for you on fb i could not find you. can you pls reach out?
Hi, you can find me here
facebook.com/rs.ranjitswain