CJE practice question 12 of 25

Which of the following is true about resuming a Declarative Pipeline?

Full set: 186 questions
Answer options
A: Declarative Pipelines cab be restarted after a Jenkins failure but not after a transient outage (such as a network failure or disk space exhaustion).
B: Declarative Pipelines can be resumed only after a transient outage (such as a network failure or disk space exhaustion).
C: All Declarative Pipelines are restartable by default, with the same inputs (commit to build, parameters, etc) as the original run. Any data that was built In the original run Is available only If the preserveStashes() option Is specified In the Jenkinsfile Correct answer
D: Declarative Pipelines that use Docker containers can not be resumed because the docker APIs that Jenkins calls to create the container are not serialized
E: A Declarative Pipeline can be restarted only If the preserveStashes() option Is set In the pipeline.
Correct Answer:
C. All Declarative Pipelines are restartable by default, with the same inputs (commit to build, parameters, etc) as the original run. Any data that was built In the original run Is available only If the preserveStashes() option Is specified In the Jenkinsfile
Explanation

:

Scroll to Top