โ† All Jenkins Flashcard Decks

Test Flashcards

9 cards from real Jenkins practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 9 Test flashcards as text
  1. Which of the following attributes does Jenkins possess?

    Answer: All of the above

    Jenkins possesses all the listed attributes, making it a comprehensive CI/CD tool. It integrates with mail servers (like LDAP) for build report notifications, automatically generates build reports upon code commits, and can cache build failures at the integration stage to optimize subsequent builds. These features collectively enhance collaboration, feedback, and efficiency in the development workflow.

  2. In Jenkins, which of the following plugins should you use?

    Answer: All of the above

    Jenkins supports a vast ecosystem of plugins, and Amazon EC2, HTML Publisher, and Maven 2 Project are all commonly used and highly beneficial. The Amazon EC2 plugin allows dynamic provisioning of build agents, the HTML Publisher displays custom HTML reports, and the Maven 2 Project plugin provides specialized support for Maven-based projects. These plugins extend Jenkins' functionality to meet diverse project needs.

  3. Jenkins, what precisely do you mean?

    Answer: Jenkins is an open source Continuous Integration and Continuous Delivery Tool.

    Jenkins is an open-source automation server primarily designed to facilitate both Continuous Integration (CI) and Continuous Delivery (CD). It automates the various stages of the software development lifecycle, from building and testing to packaging and deploying applications. This comprehensive capability makes it a cornerstone for modern DevOps practices, ensuring rapid and reliable software releases.

  4. Is it possible to run Junits as part of a Jenkins job?

    Answer: True

    Yes, it is absolutely possible to run JUnit tests as part of a Jenkins job. Jenkins has built-in support and dedicated plugins, such as the JUnit Plugin, that allow it to execute JUnit tests, parse their XML reports, and display the results directly within the Jenkins UI. This is a crucial aspect of continuous integration, ensuring code quality with every build.

  5. Which variables are available by default in Jenkins Pipeline and may be used to get information about the Pipeline that is currently running?

    Answer: currentBuild

    The `currentBuild` variable is a global variable available by default in Jenkins Pipeline scripts. It provides access to various properties and methods related to the current build's execution, such as its status, display name, and parameters. This allows pipelines to dynamically react to or log information about their own execution, providing context-specific data.

  6. In Continuous Integration, which of the following is included?

    Answer: All of the above

    Continuous Integration (CI) encompasses all the listed activities to ensure that code changes are integrated frequently and reliably. It involves unit testing to verify individual components, database integration to ensure data consistency across the system, and the core processes of development and compilation to build the application. The goal is to detect integration issues early in the development cycle.

  7. Jenkins was created by

    Answer: Kohsuke Kawaguchi

    Jenkins was originally created by Kohsuke Kawaguchi while he was working at Sun Microsystems. He developed it as Hudson, an open-source project, to help automate the build process for his team. After a dispute, the project forked, and the name Jenkins was adopted for the continued development of the original project.

  8. In Jenkins, how do you install a plugin?

    Answer: Both Using the "Plugin Manager" in the web UI and Using the Jenkins CLI install-plugin command

    Jenkins offers two primary methods for installing plugins. The most common is through the 'Plugin Manager' in the Jenkins web UI, which provides a user-friendly interface to search, install, and manage plugins. Alternatively, for automation or scripting purposes, plugins can be installed using the Jenkins Command Line Interface (CLI) with the `install-plugin` command.

  9. Jenkins supports which of the following SCM tools?

    Answer: All of the above

    Jenkins is designed to be highly extensible and supports a wide range of Source Code Management (SCM) tools through its robust plugin architecture. This includes older systems like CVS and Subversion, as well as more modern distributed version control systems like AccuRev and Git. Its flexibility allows seamless integration with diverse development environments and version control practices.

How this page was made: written with AI tools. We have not yet matched this exam's facts to an official source, so confirm fees, dates and rules with the exam body. Not reviewed by a subject-matter expert. Editorial policy