Jenkins Interview Questions | Visualpath

Jenkins Interview Questions

What is Continous Integration?
What is Jenkins?
What is the difrence between Jenkins, Maven & Ant?
SCM that jenkins supports?
What is relation between Hudson & Jenkins?
What are advantages of using Jenkins?
What are plugins in Jenkins?
Mention all the plugins you used in jenkins and its purpose?
How do you clone git reo in jenkins job?
How do you build java code with Maven in Jenkins?
What is static code analysis and what plugin you used for it?
What is downstream and upstream job?
What is Nexus repository manager?
How can you version and upload artifacts in Nexus repo?
How can you deploy artifact to tomcat server from Jenkins job?
What is workspace in jenkins?
Copying artifacts to another job?
What is build pipeline?
How to create users in Jenkins?
How to add/remove/disconnect nodes in Jenkins?
How to restrict jenkins job to execute on a particular node?
How to setup multiple Java or Maven or Git versions in Jenkins server?
How to set Environmental Variables in Jenkins?
How to install/update/remove Plugins in Jenkins?
How to execute ansible playbooks from Jenkins?
How to pass variables to ansible playbooks from Jenkins job?
Build id variable name?
What is console output?
What is build history?
How to store credentials in Jenkins?
How to deploy older versions of artifacts from Jenkins job?
Name diffrent Phases in Maven and its purpose?
How to restart Jenkins from browser?
How to start/stop/restart Jenkins from command line?
What is the location of workspace of jobs in Jenkins server?
Benefits of using Nodes in Jenkins?
How to execute Bash script from Jenkins job?
Have you configured Jenkins’s job? If yes, Tell me the process
What is continuous integration why we need it?
How your CI & CD pipelines is are configured.
Have you worked on maven?
How many slaves are there in ur Jenkins’s. How many executable are in each slave
Where you can store the build zip file(artifact). And how you deploy this to your environments?
How to roll back the project from current version to previous versions?
What plugins are u used in your project
How to write custom scripts in Maven
How to setup jenkins server and nodes using ec2 instances
how to deploy application by using git and Jenkins
For java app what are the best tools which is used for CI and CD tools.-
What problem CI solves, advantage of CI.
Maven and Ant
What is maven from where we get the pom.xml for the jobs.—
Maven is a build tool.
mvn archetype:generate
what is pom.xml file?
Maven and ant difference and what are the different scenario where it is used----
Difference between Ant and Maven. Ant and Maven both are build tools provided by Apache. The main purpose of these technologies is to ease the build process of a project. Ant doesn't has formal conventions, so we need to provide information of the project structure in build.xml file.
what is ant and from where we get the build.xml for the jobs.---
how pom.xml will read the variables which we use in the jenkin like version.----
By invoking maven
what is dependency in pom.xml---
POM inheritance
Invoke maven task is there in post build option.
Jenkins
are we in admin part of jenkins like installation of jenkins ---- yes
different ways to install a plugin's in jenkins - using manage plugins.----
how you created jobs in jenkins other than the GUI like new item option.. other option is job dsl. ---- using Jenkins API
Why jenkin is required if we can do the same thing with script like automatic. - Continous Integration and its plugin feature.
How many jobs are there in jenkins (for eg – ant , maven) - ant is default Maven you have to install, , Gradle.----
steps for the installation of jenkins tomcat server ( for tomcat server install command is different ) - see our copy.yml.
yum install Jenkins will run on which server ? - Master server.
how do you do a deployemnt. - using shell scripts
are you doing the deployment in an application server - yes.
What is sonar qube and How to Integrate sonar qube with jenkins - code metrics.
Main reason of using jenkins - CI.
Commands to start jenkin manually  through command prompts like how to up the server  - service jenkins start.
How to Safe restart the jenkins - Restart when no jobs are running.
How to create a backup in jenkins, what is the plug in name complete process. From which directory it will take the back up ( jenkin_home) directory. - Backup Plugin.
Step to setup a jenkins and how to create a new job - New item-> Frees style.
How to deploy a Custom build in jenkins - usinfg build tools such as ant and maven.
Where we store the artifacts which gets generated from jenkins -  local and nexus .
How to bypass the github like directly using the code and put it in jenkins--- t
Jenkins used a entriprised or a open source u used - ---open source.
Different Pluging used in jenkins ---build pipeline, Backup, git .

Comments