InterviewSolution
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. |
Define Few Plugins Of Jenkins? |
|
Answer» Here are some plugins that can be used with Jenkins:
Here are some plugins that can be used with Jenkins: |
|
| 2. |
Tell Me Jenkins Installation Requirements? |
Answer»
|
|
| 3. |
How Can You Setup Jenkins Jobs? |
|
Answer» Follow these steps:
Follow these steps: |
|
| 4. |
How Can You Clone A Git Repository Via Jenkins? |
|
Answer» If you want to clone a Git repository VIA Jenkins, you have to enter the e-mail and user NAME for your Jenkins SYSTEM. Switch into your job DIRECTORY and execute the “git config” command for that. If you want to clone a Git repository via Jenkins, you have to enter the e-mail and user name for your Jenkins system. Switch into your job directory and execute the “git config” command for that. |
|
| 5. |
How Can Create A Backup And Copy Files In Jenkins? |
|
Answer» 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. 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. |
|
| 6. |
What You Do When You See A Broken Build For Your Project In Jenkins? |
|
Answer» I will open the console OUTPUT for the build and will try to see if any FILE changes were MISSED. If not ABLE to find the issue that way, Will clean and update my local WORKSPACE to replicate the problem on my local and will try to solve it. I will open the console output for the build and will try to see if any file changes were missed. If not able to find the issue that way, Will clean and update my local workspace to replicate the problem on my local and will try to solve it. |
|
| 7. |
What You Do To Make Sure That Your Project Build Doesn’t Break In Jenkins? |
|
Answer» I make sure that I perform successful clean install on my local machine with all UNIT TESTS. Then I make sure that I check in all code changes. Then I do a Synchronize with repository to make sure that all REQUIRED CONFIG and POM changes and any difference is CHECKED into the repository. I make sure that I perform successful clean install on my local machine with all unit tests. Then I make sure that I check in all code changes. Then I do a Synchronize with repository to make sure that all required config and POM changes and any difference is checked into the repository. |
|
| 8. |
What Are The Two Components Jenkins Is Mainly Integrated With? |
|
Answer» Jenkins is integrated with these two COMPONENTS: Jenkins is integrated with these two components: |
|
| 9. |
How You Can Set Up Jenkins Job? |
|
Answer» 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. 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. |
|
| 10. |
How You Can Clone A Git Repository Via Jenkins? |
|
Answer» 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. 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. |
|
| 11. |
How To Create A Backup And Copy Files In Jenkins? |
|
Answer» If you want to CREATE a back-up of your JENKINS setup, just copy the DIRECTORY that saves all the setting, build artifacts and logs of Jenkins in its home directory. You can also copy a JOB directory to clone or replicate a job or RENAME the directory. If you want to create a back-up of your Jenkins setup, just copy the directory that saves all the setting, build artifacts and logs of Jenkins in its home directory. You can also copy a job directory to clone or replicate a job or rename the directory. |
|
| 12. |
What Are The Most Useful Plugins In Jenkins? |
|
Answer» Some most USEFUL plugins in Jenkins: Some most useful plugins in Jenkins: |
|
| 13. |
Which Commands Can Be Used To Start Jenkins Manually? |
|
Answer» You can use any ONE of the FOLLOWING commands to start Jenkins manually: (Jenkins_url)/restart: Forces a restart WITHOUT waiting for builds to complete. (Jenkin_url)/safeRestart: Allows all RUNNING builds to complete. You can use any one of the following commands to start Jenkins manually: (Jenkins_url)/restart: Forces a restart without waiting for builds to complete. (Jenkin_url)/safeRestart: Allows all running builds to complete. |
|
| 14. |
How Can You Move Or Copy Jenkins From One Server To Another? |
|
Answer» Follow these STEPS to MOVE or COPY Jenkins from one server to another:
Follow these steps to move or copy Jenkins from one server to another: |
|
| 15. |
How To Make Sure That Your Project Builds Doesn’t Break In Jenkins? |
|
Answer» You must follow these steps to make sure that your project builds doesn’t BREAK in Jenkins:
You must follow these steps to make sure that your project builds doesn’t break in Jenkins: |
|
| 16. |
What Are The Advantages Of Jenkins? |
|
Answer» Advantage of Jenkins includes:
Advantage of Jenkins includes: |
|
| 17. |
What Is The Requirement For Using Jenkins? |
|
Answer» For using JENKINS, you have to need a source code repository which is ACCESSIBLE. For example, a Git repository and a WORKING build SCRIPT, e.g., a MAVEN script, checked into the repository. For using Jenkins, you have to need a source code repository which is accessible. For example, a Git repository and a working build script, e.g., a Maven script, checked into the repository. |
|
| 18. |
What Is The Relation Between Hudson And Jenkins? |
|
Answer» HUDSON was the EARLIER name and version of current Jenkins. After some issue, the project name was CHANGED from Hudson to Jenkins. Hudson was the earlier name and version of current Jenkins. After some issue, the project name was changed from Hudson to Jenkins. |
|
| 19. |
What Is Continuous Integration In Jenkins? |
|
Answer» In software development, multiple developers or teams WORK on different segments of same web application so you have 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 CODES GET tested. This process is known as continuous integration. In software development, multiple developers or teams work on different segments of same web application so you have 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 codes get tested. This process is known as continuous integration. |
|
| 20. |
Which Scm Tools Does Jenkins Support? |
|
Answer» Jenkins supports the following SCM tools: Jenkins supports the following SCM tools: |
|
| 21. |
What Is The Difference Between Maven, Ant And Jenkins? |
|
Answer» The most basic difference is: Maven and ANT are Build TECHNOLOGIES whereas Jenkins is a continuous INTEGRATION tool. The most basic difference is: Maven and Ant are Build Technologies whereas Jenkins is a continuous integration tool. |
|
| 22. |
What Is Jenkins? |
|
Answer» Jenkins is an open source continuous INTEGRATION tool written in JAVA. It keeps a track on version control system and to INITIATE and monitor a build system if CHANGES occur. Jenkins is an open source continuous integration tool written in Java. It keeps a track on version control system and to initiate and monitor a build system if changes occur. |
|