Free CJE Exam Braindumps (page: 4)

Page 3 of 47

What is the purpose of the "Manage Old Data" screen under "Manage Jenkins"?

  1. Delete artifacts, togs, and backups that are no longer required.
  2. Clean up workspaces left by deleted Jenkins users.
  3. Delete outdated configurations left by uninstalled, deleted, or upgraded plugins.
  4. Delete or restore old credentials details.
  5. Prepare for migration from Jenkins 1 to Jenkins 2.

Answer(s): C



Which of the following are true when using environment directives in a Declarative Pipeline? Choose 3 answers

  1. If an environment variable b enclosed in single quotes, the Pipeline DSL dereferences the variable on the master's JVM and passes the calculated string to the sh or bat step; if the environment variable Is enclosed in double quotes, the name of the environment variable itself is passed to the "sh" or 'bat" step and the shell interpreter on the agent dereferences the variable.
  2. If an environment variable Is enclosed in double quotes, the Pipeline DSL dereferences the variable on the master's JVM and passes the calculated string to the sh or bat step; if the environment variable is enclosed in single quotes, the name of the environment variable itself is passed to the "sh" or "bat" step and the shell interpreter on the agent dereferences the variable.
  3. A Declarative Pipeline can use environment variables defined In Jenkins Itself (such as BUILD_NUMBER and JENKINS^URL), environment variables defined in an installed plugin (such as GIT„COMMIT or GIT .BRANCH, defined in the Git plugin), or environment variables that are coded as directives in the Pipeline itself; the semantics are identical for all environment variables.
  4. An environment variable can be specified globally (to apply to all steps in the pipeline), for an individual step, or for one or more specified steps In the Pipeline,

Answer(s): A,C,D



When you want to validate that your software produces the desired behavior for end users, you need to use

  1. smoke tests
  2. acceptance tests
  3. functional tests
  4. non-regression tests

Answer(s): A



When you upgrade a plugin and find an issue in the new version, how ran you move hade to the previously installed version? Choose 2 answers

  1. Use the pluginManager.downgrade method in the script console.
  2. Select the version you want to use in the global configuration section for this plugin.
  3. Select one of the previous versions in the Plugin Manager.
  4. Manually download and install the previously installed version.
  5. Use the "downgradeplugin" command In the Jenkins CI I
  6. Use the button on the Plugin Manager that allows a downgrade to the previously installed version.

Answer(s): D,F






Post your Comments and Discuss CloudBees CJE exam with other Community members:

CJE Exam Discussions & Posts