Jenkins Interview Questions Flashcards
How do you create a Maven job in Jenkins?
a. Run Jenkins
b. Add Maven plugins
c. Create a Maven Job
d. Specify the location of your Selenium project for example provide the github location
e. Click build
How do you integrate Jenkins with Selenium?
https://www.softwaretestinghelp.com/integration-of-jenkins-with-selenium-webdriver/
Jenkins how can you get a failed build?
Click and open your Maven project, under Build History if the icon is in red color it means it failed. You can click and view the details of the failed build. See console logs to view the details/reason of the failure.
(See visuals on the Maven, GIT & Jenkins IQ PDF)
What is a freestyle job?
Jenkins can be used to perform the typical build server work, such as doing continuous/official/nightly builds, run tests, or perform some repetitive batch tasks.
This is called “free-style software project” in Jenkins.
Freestyle build jobs are general-purpose build jobs, which provides a maximum of flexibility.
How do you configure a job to send mails when Jenkins job execution completes?
Inside your Jenkins project , click Configure > Under Post-build Actions, select Email Notification and enter your Email Address
How can you get the log of the reports in Jenkins?
When you are at Jenkins Home > Click Manage Jenkins > Click System Log
How do you configure Jenkins to run GitHub based changes?
Specify the location of your github project in the Poll SCM section enter “ * * * * *”
This will check github for changes every minute
If there are changes it will execute the build
How do you time test in Jenkins?
Test Results Analyzer Plugin
Do you know how to build a Jenkins job?
There are many standard plugins available within a Jenkins freestyle project to help you overcome this problem.
They allow you to configure build triggers and offers
project-based security for your Jenkins project.
How do you check reports in Jenkins?
After the build is finished, you can view the results of your TestComplete tests in Jenkins.
You can view the results from the build page. If generating JUnit-style reports or JUnit reports was enabled, you can also view the results in a way you find suitable for this type of reports.
What is the default port for Jenkins?
The default is port 8080
What is Jenkins Pipeline?
Pipeline is a workflow with a group of jobs that are chained and integrated with each other in sequence.
Each job will be dependent on each other.