BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CloudBees Exam CJE Topic 1 Question 79 Discussion

Actual exam question for CloudBees's CJE exam
Question #: 79
Topic #: 1
[All CJE Questions]

How would you invoke a Docker agent?

Show Suggested Answer Hide Answer
Suggested Answer: C

Docker-based agents can be invoked this way. You'd get the latest 'openjdk' docker image with this syntax.


Contribute your Thoughts:

Trinidad
6 months ago
I'm not sure, but I would go with C) as well because it seems like the most logical option
upvoted 0 times
...
Harley
6 months ago
I agree with Chandra, it makes sense to specify the Docker image in the agent block
upvoted 0 times
...
Chandra
6 months ago
I disagree, I believe the answer is C) agent { docker 'openjdk'} because we want to specify the Docker image
upvoted 0 times
...
Dannette
7 months ago
I think the answer is A) agent { label 'docker'}
upvoted 0 times
...

Save Cancel