Continuous Integration Flashcards
Continuous integration is ____.
Select one:
a. The process of integrating builds with another build in the cloud
b. The process of integrating code daily and verifying changes with incremental builds
c. All of these
d. The process of integrating builds just before going live into production
d. The process of integrating builds just before going live into production
A \_\_\_\_\_\_\_ is the term used for a Jenkins build workflow that you configure for a project. Select one: a. Pipe b. Job c. Workflow d. Build
b. Job
A \_\_\_\_\_\_ defines when a Jenkins will begin a build. Select one: a. Build step b. Build configuration c. Build trigger d. Build automation
c. Build trigger
In what order are the phases of the default lifecycle executed?
Select one:
a. validate, test, compile, package, integration-test, verify, install, deploy
b. validate, compile, package, test, integration-test, verify, deploy, install
c. validate, compile, test, package, integration-test, verify, install, deploy
d. validate, compile, test, package, integration-test, deploy, install, verify
c. validate, compile, test, package, integration-test, verify, install, deploy
True or False. Jenkins is usually combined with a source code management system like Git and a build agent like Maven.
Select one:
a. True
b. False
a. True
What are the elements of a project's coordinates? Select one: a. project, version b. group, artifact, version c. groupId, artifactId, version d. company, project, versionNumber
c. groupId, artifactId, version
What is a dependency?
Select one:
a. Another name for the POM file
b. An artifact that must be included in the build for the application to function properly
c. A collection of unit tests that must pass before the build is allowed to complete
d. A dependent or subordinate thing, especially a country or province controlled by another
b. An artifact that must be included in the build for the application to function properly
What is a Maven goal?
Select one:
a. A project dependency that is resolved during compilation
b. To manage project resources, such as documents, developers, and source code
c. A task bound to zero or more build phases which contributes to the building and managing of a project
d. A directory structure template for building Maven applications
c. A task bound to zero or more build phases which contributes to the building and managing of a project
What is an archetype?
Select one:
a. A task bound to zero or more build phases which contributes to the building and managing of a project
b. A project structure based on a template
c. None of the above
d. A JAR file required to build the project
b. A project structure based on a template
What is Maven?
Select one:
a. None of the above
b. A build automation and project management tool
c. A unit testing framework
d. A database connectivity framework for Java
b. A build automation and project management tool
What is the command to create a new project based on an archetype? Select one: a. mvn archetype:quickstart b. mvn archetype:create c. mvn archetype:generate d. mvn archetype:new
c. mvn archetype:generate
What is the default location of your local repository? Select one: a. C:/.m2/repository b. All of the above c. userhome/.m2/repository d. userhome/m2/repository
c. userhome/.m2/repository
What is the difference between the local and central repositories?
Select one:
a. The central repo is on your computer, whereas the local repo is an online repo of uploaded dependencies
b. The local repo is on your computer, whereas the central repo is an online repo of uploaded dependencies
b. The local repo is on your computer, whereas the central repo is an online repo of uploaded dependencies
What is the POM?
Select one:
a. A Maven project template, including source and test directories
b. A representation of a Maven project held in a file named pom.txt
c. An XML representation of a Maven project held in a file named pom.xml
d. All of the above
c. An XML representation of a Maven project held in a file named pom.xml
What would the command mvn clean do?
Select one:
a. None of the above
b. Both of the above
c. Removes the target directory with all the build data before starting the build process
d. Removes the source directory with all the build data before starting the build process
c. Removes the target directory with all the build data before starting the build process