Jenkinsfile Beginner Tutorial 1 | What is Jenkinsfile | How to create jenkinsfile | Step by Step

preview_player
Показать описание
Jenkins Pipeline Beginner Tutorial | How to create Jenkinsfile
- What is pipeline
- What is jenkins pipeline
- What is jenkinsfile
- How to create jenkinsfile

Build > Deploy > Test > Release
Jenkinsfile: Pipeline as a code

Step 1 : Start Jenkins
Step 2 : Install Pipeline Plugin
Step 3 : Create a new job
Step 4 : Create or get Jenkinsfile in Pipeline section
Step 5 : Run and check the output

#jenkinsfile

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
Рекомендации по теме
Комментарии
Автор

Thank you, this was really for total beginners like me. Finally I managed with your tutorial.

dacepetersone
Автор

I Fallen In Love With Your Tutorial Videos

vijayakanth
Автор

I am a total newbie from system administration background. the video was so clear and easy to understand.

dronefilmsgermany
Автор

Great Raghav It's a Very interesting session . Please make more video on Jenkinsfile

shashankchoubey
Автор

Thank You sir.. this is very helpful 👍

manishaverma
Автор

Thank you for explaining in such a nice way!

rekhamalik
Автор

Great information. Thanks for sharing.

prashanth
Автор

i am about to start one of your jenkins playlist which is 6 years old. Is the concepts same now also when compared to 6 years old playlist.

hemanthp
Автор

Hello sir
Hope you doing well, i saw this series & one of my colleague suggest me . You are amazing. Your 2017 videos, And now this video is feels like you became a rocket & a expert one. Genius one
@Raghav Pal

somanathmuduli
Автор

Thanks, but I have one doubt, I have to trigger a job which is currently running on different build number and build number is defined as a parameter in a downstream job.
So can you please help me on how to define the build number in the jenkinsfile ?

gitikasurana
Автор

can you please explain how to create env variable in jenkin and assign its value from shell script and then use it in some other step, i am not able to assign its value in shell script

abhaypatel
Автор

Thanks a lot, please if u can make a video about how automation works in radiostation, storage database request and configurations..

lifestylenounou
Автор

Thanks a Lot Raghav for this session.Will the sh command in Jenkinsfile will work in windows machine eg: sh 'mvn clean install -Denv=qa'

jayantamandal
Автор

Hi sir I need to create directory and clone the git repository inside the directory in the jenkins pipeline itself how to do that

vishwagowda
Автор

Can you pls share a video on how to setup a windows slave node for Linux Jenkins master . If already present pls could you share the link

swatzy
Автор

Bro please help 🙏to complete my assignment
"Install Jenkins on your laptop

Install Mysql on your laptop

Create a dummy DB (say testdb) and a Contact table with columns Firstname, Lastname, Phone, Mobile, email

Write a Jenkins pipeline which takes an sql statement as a parameter like

Insert statement into Contact table

Add a new mysql DB user with password (this is at Mysql level and not in the Contact table)

Alter table statement for adding address column to Contact table
"
This is my assignment and I easily install jenkin and mysql and I also create table in my sql but in 3rd step I don't know how I done this... please help

raghavmalhotra
Автор

Hello Sir,

I don't know much about Jenkins, but want to learn.
I have a case when I push some file on git and this trigger Jenkins job to deploy the same file to multiple servers(windows and Linux), thus this can be achieved by Jenkins? As per understanding Jenkins is CD tools that why I think to correlate the task.
Please confirm I'm correlating right things?

Thanks

devendrasahu
Автор

Hello Raghav! Thanks to you I have come this far in Jenkins. I have my pipeline script which contains two stages which are build one and build two respectively. I have an active choice parameter[1] which contains a single select choice list. In build 2 I have an active choice reference parameter[2] which refers the above mentioned active choice parameter[1]. From my build one stage it generates a test.txt file. As I have mentioned in my build two active choice reference parameter[2] I want to read the above text.txt file and return the values by using split(', ') or tokensize(', ') as a single select parameter.

def fileContents = new ", " )
return fileContents

I have used this inside the active choice reference parameter[2] script. But it gives me a error and doesn't execute. Can you help me with this? or is there any other way to do this?

vimanthaperera
Автор

Hi Raghav. When i tried to run the job for jmeter cmd from jenkin with Windows batch command, getting below error. can you please give your suggestion:
" Building in workspace
[JmeterUserTest] $ cmd /c call
The syntax of the command is incorrect."

samkamal
Автор

Great Raghav It's a Very interesting session . Please make more video on Jenkinsfile

shashankchoubey