Thanks to visit codestin.com
Credit goes to www.scribd.com

12% found this document useful (17 votes)
11K views5 pages

56691

The document discusses various aspects of continuous integration and Jenkins. It covers topics like plugins, upgrades, installation methods, best practices, and configuration. Key points include that plugins add functionality to Jenkins, upgrades involve stopping and restarting Jenkins, and the default port is 8080. Native package installations run Jenkins as a system service, while pinned plugins prevent overwriting during upgrades.

Uploaded by

uday sri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
12% found this document useful (17 votes)
11K views5 pages

56691

The document discusses various aspects of continuous integration and Jenkins. It covers topics like plugins, upgrades, installation methods, best practices, and configuration. Key points include that plugins add functionality to Jenkins, upgrades involve stopping and restarting Jenkins, and the default port is 8080. Native package installations run Jenkins as a system service, while pinned plugins prevent overwriting during upgrades.

Uploaded by

uday sri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

1) HTML publisher plugin [ ]

a) Publishes any html file


b) Fails if no html files are found
c) Run manually as post build action
d) Both 1 and 3

2) Plugins are packaged as [ ]


a) Jar files
b) (j)/HPI files
c) Both Jar and (j)HPI files
d) None of the above

3) Upgrades of Jenkins is done by [ ]


a) Replacing/updating packages
b) Updating war files
c) Backing up Jenkins, stopping of jenkins, upgrade of jenkins, no update of plugins, restart
jenkins
d) Backing up jenkins, stopping of Jenkins, upgrade of Jenkins, no update of plugins(if required),
restart jenkins

4) CI includes [ ]
a) Compilation, test execution, database integration, code inspection, deployment, document
generation
b) Compilation, test execution, database integration, code inspection, document generation
c) Compilation, test execution, database integration, code inspection
d) Compilation, test execution, Compilation, test execution

5) The default context for Jenkins running as a war under tomcat is [ ]


a) Jenkins
b) /
c) /Jenkins
d) None of the above

6) CI requires [ ]
a) CI server
b) CI server + SCM
c) SCM
d) CI server + SCM + Scripts

7) All plugins that work in Hudson [ ]


a) Work in Jenkins
b) Do not work in Jenkins
c) May or may not work in Jenkins
d) None of the above

8) Plugins represent [ ]
a) Unique functionality offered by Jenkins
b) Sometimes overlap in functionality
c) Can be manually installed
d) All of above

9) Native packages installations install Jenkins as [ ]


a) Automatic services
b) Manual services
c) Do not any service installation
d) None of the above

10) Jenkins should not be set up as JNLP because [ ]


a) It is browser dependent
b) Requires correct version of JAVA installed
c) Has security issues with java web start
d) All of above

11) To install Jenkins as a native package on Ubuntu [ ]


a) You need to add Jenkins as a package provider
b) Update apt-get database
c) Add GPG keys to source keying
d) All of above

12) Pinned plugins [ ]


a) Are always overwritten when Jenkins is upgraded
b) Never overwritten when Jenkins is upgraded
c) Represented by $JENKINS_HOME/plugins/plugin_name.jpi.pinned file
d) May be older than bundled version

13) What is value for customer? [ ]


a) Cost
b) Delivery
c) Reliability
d) All of above

14) The fastest and best Jenkins implementation is to use [ ]


a) Native packages
b) Servlet packages
c) Both A and B
d) Run war file manually

15) Jenkins native package installations run as by default [ ]


a) Localsystem
b) Jenkins
c) Id of user who installed
d) None of the above

16) CI practices result in [ ]


a) Faster feedback
b) Better code confidence
c) More project visibility
d) All of above

17) CI is a practice where members of a team [ ]


a) Continually compile code
b) Continually compile automatically and test code manually
c) Continually compile and test code in an automated manner
d) Compile code once a night and test once a week

18) Ant plugin [ ]


a) Allows automatic installation of ANT
b) Defaults to using build.xml
c) Supports build.properties file
d) All of above

19) Jenkins is best setup by [ ]


a) System/server admins
b) Developers
c) Quality consultants
d) All of above

20) Javadoc is published [ ]


a) Automatically for maven projects always
b) Automatically for maven projects if Javadoc:Javadoc is a goal in build
c) Manually for free style projects as a post build action always
d) None of the above

21) Jenkins [ ]
a) Is based on Hudson
b) Has a number of plugins
c) Is java based
d) All of above

22) The default port on which Jenkins starts is [ ]


a) 8080
b) 80
c) 9080
d) None of the above

23) CI [ ]
a) Requires a single source repository
b) Can work with multiple source repositories
c) Requires a single source repository and regular commits
d) None of the above

24) GIT HUB plugin [ ]


a) Create hyperlinks between Jenkins projects and GITHub
b) Report build status result back to github as commit status
c) Trigger a job when a push to the repository happens by groking HTTP POSTs from post-
receive hook
d) All of above

25) Plugins share data via [ ]


a) Environment variables
b) Temporary files
c) Do not share data
d) None of the above

26) Self-testing code is [ ]


a) Code base that has automated test code
b) Code that does not require testing
c) Tests that are automated into software
d) None of the above

27) Team foundation server commercial continuous integration server and source code repository
by [ ]
a) Internet explorer
b) Microsoft windows
c) Microsoft office
d) microsoft
28) CI requires [ ]
a) A build, release and deploy process
b) Dedicated CI managers
c) Both a and b
d) None of the above

29) The purpose of the file Jenkins.xml is [ ]


a) Configure startup parameters for Jenkins
b) Store Jenkins configurations
c) Both A and B
d) None of the above

30) Maven plugin [ ]


a) Allows running of maven projects/goals
b) Allows for release of maven projects
c) Both A and B
d) Both A and B, but B is not recommended

You might also like