Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

How to setup Jenkins with Git with details?

Answer»

How to setup Jenkins with Git with details?
Below are the different steps to setup Jenkins with Git as define below:-
(1)After installing Jenkins in our Jenkins dashboard we have the option on left hand side "Manage Jenkins" define in below screen.


Jenkin Setup

(2)Now screen of "Manage Plugin" is opened as given below


Manage Jenkin

(3)In this above screen we will get the different OPTIONS.This tab will give a list of plugins which are available for downloading. In the "Filter" tab type "Git plugin"


Jenkin Available Tab

(4)Here list will be filtered. Now Check the Git Plugin option and click on the button "INSTALL without RESTART".


Git Plugin

(5)After that INSTALLATION will started and the screen will be refreshed which show th status of DOWNLOAD.


Install Plugin

(6)After installation is completed we will restart jenkins by issue the below command in browser.
http://localhost:8080/jenkins/restart
Once Jenkins is restarted git will be available as a option whilst confiuring jobs. And to verify we will click on new item in the menu options from jenkins. After that we need to enter the name of job. Here i have enter the name "Demo". Now we will select "Freestyle Project" as the item type. And at last we need to click on OK button.


New Jenkin Item

(7)Now in last screen we browse the source code management section and we will now get "Git" as option as gievn in below screen.


Jenkin Config

2.

Name six most useful Plugins in Jenkins?

Answer»

Name six most useful Plugins in Jenkins?
Below are the 6 most useful plugin in Jenkins
(1)Maven 2 Project
(2)Amazon EC2
(3)HTML PUBLISHER
(4)Copy ARTIFACT
(5)JOIN
(6)Green Balls

3.

How can we create a Backup and Copy Files in Jenkins?

Answer»

How can we create a Backup and COPY Files in Jenkins?
To do a backup of Jenkins we need only copy a directory to some location because this Jenkins folder have all the below thinks in it:-
(1)Build Jobs Configrations
(2)Slave Node Configurations
(3)And all Build History.
So backup is very easy for jenkins. And we can also copy a JOB directory to clone or we can REPLICATE a job or rename the directory.

4.

Five steps to setup Jenkins Job?

Answer»

Five steps to setup Jenkins JOB?
Below are the 5 steps to create a project that is handled VIA jobs in Jenkins:-
(1)First we need to select the New item from menu
(2)One first step is done then we need to ENTER a name for the job
(3)After that we need to select free-style job.
(4)After that we need to CLICK ok to create new job in Jenkins.
(5)In next page this enable US to configure our job.

5.

What do you think about Hudson and Jenkins?

Answer»

What do you think about Hudson and Jenkins?
There is very close RELATION between Hudson and Jenkins. Hudson was the earlier NAME and VERSION of currently we are using as Jenkins. DUE to some issue in that PROJECT name was changed from Hudson to Jenkins.

6.

Name the two components Jenkins is mainly Integrated with?

Answer» NAME the two COMPONENTS Jenkins is mainly Integrated with?
Jenkins is mainly integrated with below 2 components:-
(1)Version Control System like GIT,SVN
(2)BUILD tools like Apache MAVEN