Q1. Mention what is Jenkins?
Ans: Jenkins is an open source tool with plugin built for continuous integration purpose. The principle functionality of Jenkins is to keep a track of version control system and to initiate and monitor a build system if changes occur. It monitors the whole process and provides reports and notifications to alert.
Q2. Explain what is continuous integration?
Ans: In software development, when multiple developers or teams are working on different segments of same web application, we need to perform integration test by integrating all modules. In order to do that an automated process for each piece of code is performed on daily bases so that all your code get tested.
Q3. What is the requirement for using Jenkins?
Ans: To use Jenkins you require:
Q4. Mention what are the advantages of Jenkins?
Ans: Advantage of Jenkins include:
Q5. Explain how you can move or copy Jenkins from one server to another?
Ans:
Q6. Mention what are the commands you can use to start Jenkins manually?
Ans: To start Jenkins manually, you can use either of the following:
Q7. Mention some of the useful plugins in Jenkin?
Ans: Some of the important plugins in Jenkin includes:
Q8. Explain how you can deploy a custom build of a core plugin?
Ans: To deploy a custom field of a core plugin, you have to do following things:
Q9. Explain how can create a backup and copy files in Jenkins?
Ans: Jenkins saves all the setting, build artifacts and logs in its home directory, to create a back-up of your Jenkins setup, just copy this directory. You can also copy a job directory to clone or replicate a job or rename the directory.
Q10. Explain how you can clone a Git repository via Jenkins?
Ans: To clone a Git repository via Jenkins, you have to enter the e-mail and user name for your Jenkins system. For that, you have to switch into your job directory and execute the “git config” command.
Q11. Explain how you can set up Jenkins job?
Ans: To create a project that is handled via jobs in Jenkins. Select New item from the menu, once this done enter a name for the job and select free-style job. Then click OK to create new job in Jenkins. The next page enables you to configure your job.
Q12. Mention what are the two components Jenkins is mainly integrated with?
Ans: Jenkin is mainly integrated with two components: