Professional Documents
Culture Documents
TRNDNXT Set 1 Jenkins L2
TRNDNXT Set 1 Jenkins L2
TRNDNXT Set 1 Jenkins L2
1) Code coverage analysis is CPU and Memory intensive process which will slow down build
completion time. How do you configure code coverage analysis in this scenario?
ANS- Run code coverage analysis in separate build job after unit and integration test successful.
3) What are the minimum steps needed to configure unit testing in Jenkins?
a) Add built step to invoke ant and include the
b) Add post-build action to publish the test res
c) Both the above
d) Add HTML scarping and include T
4) How do you configure Jenkins to utilize more memory for running performance tests?
ANS- mention the memory to be used in MAVEN_OPTS field in the build job.
ANS- @ignore
ANS- displays the calculated coverage percentage based on the unit tests written.
ANS- coverage.xml
PUBLIC
9) Which plugin is used for getting code coverage for .net projects?
a)mstest
b)vstest
c)cobertura
d)a and b
10) Name the correct plugin that is used for running static code analysis?
b)FindBugs plugin
c) a and b
11) You are installing the plugins and Jenkins throw error that is not able to download the plugins
since Jenkin is behind firewall. How do you download the plugins?
12) Which of the below is used to configure JDK and ANT installations in build job?
PUBLIC
ANS- JSON format
ANS- artifactory
17) You need to have the maven build previous builds , compile code and unit test and generate jar
file, what needs to be configured in Jenkins to achieve this?
ANS- Go to the build section and click on Add Build step? Execute windows batch command.
19) You need to schedule build to run every minute of every hour of every day. How do you set up?
20) To shut down Jenkins cleanly , you can use the _______________ link , which prevents any new
build from being started?
PUBLIC