Jenkinsfile Beginner Tutorial 3 | Jenkins Pipeline | How to clone a git repo using Jenkinsfile |

preview_player
Показать описание
Step 1 : Create a new job or use existing job (type : Pipeline)
Step 2 : Create a repository on GitHub/BitBucket
Step 3 : Under Jenkins job > Pipeline section > Definition > Pipeline script
Step 4 : From dropdown select a sample HelloWorld examples
Step 5 : Click Pipeline syntax > Sample Step > git: Git
Step 6 : Provide repository url, branch, credentials > Generate Pipeline Script
Step 7 : Copy the generated script and add in the Hello World pipeline script as a new stage
Step 8 : Save & Run

Every LIKE & SUBSCRIPTION gives me great motivation to keep working for you

You can support my mission for education by sharing this knowledge and helping as many people as you can

If my work has helped you, consider helping any animal near you, in any way you can.

________ ONLINE COURSES TO LEARN ________

------------ UI TESTING ------------

------------ API TESTING ------------

------------ MOBILE TESTING ------------

------------ CI | CD | DEVOPS ------------

-------------VIRTUALISATION-------------
------------ VERSION CONTROL SYSTEM ------------

------------ PERFORMANCE TESTING ------------

------------ PROGRAMMING ------------

------------ IDE ------------

------------ BUILD TOOLS ------------

------------ OTHERS ------------

----------- Connect with Raghav ------------

Never Stop Learning
Raghav
Рекомендации по теме
Комментарии
Автор

Keep them coming Raghav, this jenkinsfile lessons were a must and you are doing it great, thanks for sharing with us :)

testingtrail
Автор

You know your contents are valuable, when an organization recommends your videos to its newly hired graduates. Thank you for all these.

manjeetkumar
Автор

Thanks raghav for wonderful tutorial. Your videos give me confidence and clear basic for new tools. This confidance help to explore more inside it.

akware
Автор

Gob bless you for creating such a wonderful series!

rahulgupta-fpvy
Автор

Hi I have completed your jenkins Beginner Tutorial series .It is very helpful .Thank you for such nice sessions.

suchishah
Автор

I've watched the whole lesson series. Thanks man keep it up ❤️❤️

hansakabiyon
Автор

Just done with the playlist coming from bamboo. Thank you Raghav. God Bless. I'll take Docker and Kubernetes next.

JohnPrajeeth
Автор

Thanks for wonderful knowledge sessions, Raghav!!!

rajiv
Автор

Thanks for the sessions.Its awesome. Also going through all other playlists.Keep up the good work 👍

Jyoti-uswj
Автор

Amazing instructions. I could not find anything like this in the documentations.

business
Автор

Hi raghav, please clarify doubt.
If suppose we ran test suite from jenkins. Does in console jenkins output xml reports comes?? as like we run from eclipse

vamshivishwanath
Автор

Thank you for your presentation, it was a real help :d.

tohatistefan
Автор

Thanks for this playlist Raghav, request you to please include some remaining topic as Shared Library etc.

devopswisdom
Автор

Requesting a new video in this playlist where
1. GitOps: pushing code to Github, webhook invokes pipeline
2. you work with multiple git branches
3. you can use if else if in a shell script
4. Build something
5 Generate an artifact and store it somewhere
6. deploy the artifact somewhere
I think this sums up an average scenario when using Jenkins

shivamanand
Автор

I have jenkinsfile and I'm getting some errors, is it possible to help me as a paid service, hourly basis

perumalmayandi
Автор

Hello Sir
I am using Cucumber plugin to generate Cucumber JVM reports.i am able to view generated report thorugh Jenkins .I need to email it as attachments.I am using below code to do ..but I am not able to find .html report to email that.. under target seperate folder is not getting generated where these reports will be stored in Jenkins ...it works fine in local...
{
emailext body:"test ",
attachmentsPatters:"**/* html"
}

This should search for all available html throughout the workspace right ?...why am I not able to get my generated html report?

archanamuthukrishnan
Автор

Is this playlist complete. Will this be enough to learn jenkins as im going to be joining a team which uses jenkins

-jatin
Автор

Hello Sir
I have implemented Rerun concept in Cucumber Jenkins.
1)my runner file name is Runner 2)rerun file name Is SecondRunner
When there is any failed TCs failed scenarios will be stored under target/ failed scenarios.txt file

For some reasons, when I run thorugh jenkins ( works fine in local)
My SecondRunner file gets executed first and throwing error like "Initialization Error" ..then Runner is executed.

In POM xml I gave Runner file first then SecondRunner file
Can you suggest how to make my Runner file to be executed first through Jenkin??

archanamuthukrishnan
Автор

Hi, I want to trigger from GitHub repo to Jenkins with out webhook
How it is possible?

durgaganesh
Автор

Hai raghav, I have an error while cloning different branch except main/master

In declarative pipeline,

Git branch : 'custom_branchname' not working

Is there any option to clone custom pipeline do that .?

Thank you in advance 😊

sivasankarchandu