Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CloudBees CJE Exam - Topic 2 Question 126 Discussion

You want to archive and track a build artifact, "build/mybuilt.jar", with a fingerprint from your team's build. How would you invoke the archiveArtifacts function to accomplish this?
D) archiveArtifacts artifacts: 'build/mybuilt.jar', fingerprint: true
A) archiveArtifacts = 'build/mybuilt.jar', fingerprint: true
B) archiveArtifacts artifacts: ''build/mybuilt.jar'
C) archiveArtifacts artifacts: 'build/mybuilt.jar', fingerprint: false

CloudBees CJE Exam - Topic 2 Question 126 Discussion

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

You want to archive and track a build artifact, "build/mybuilt.jar", with a fingerprint from your team's build. How would you invoke the archiveArtifacts function to accomplish this?

Show Suggested Answer Hide Answer
Suggested Answer: D

Example with Context: post { success { archiveArtifacts artifacts: 'build/mybuilt.jar', fingerprint: true } }


Contribute your Thoughts:

0/2000 characters
Eura
4 days ago
D is the way to go, no doubt!
upvoted 0 times
...
Carman
9 days ago
I think A is correct, but not sure about the fingerprint part.
upvoted 0 times
...
Kenneth
14 days ago
Definitely D, that's the right syntax!
upvoted 0 times
...
Zona
19 days ago
I definitely recall that "artifacts:" is essential, but I can't remember if the fingerprint should be true or false.
upvoted 0 times
...
Phuong
24 days ago
I'm a bit confused about the fingerprint part. Does it need to be true for archiving to work properly?
upvoted 0 times
...
Remedios
29 days ago
I remember practicing a similar question where we had to specify the fingerprint option. I feel like it might be option D.
upvoted 0 times
...
Vesta
1 month ago
I think the correct syntax should include "artifacts:" before the file path, but I'm not entirely sure which option that is.
upvoted 0 times
...

Save Cancel