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 Exam CJE Topic 1 Question 88 Discussion

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

You're a DevOps engineer in charge of configuring Jenkins for your team's CI/CD pipeline. You're utilizing the Jenkins pipeline and the Jenkinsfile. You want to define a stage for your build that utilizes the locally installed Ant and build.xml in the root of your project repository. Which is the correct syntax?

Show Suggested Answer Hide Answer
Suggested Answer: C

When a build breaks, fixing it should be the priority of everyone on the project


Contribute your Thoughts:

Pok
1 days ago
I disagree, I believe it's D) stage('build') { steps { sh 'ant -f build.xml -v' } }
upvoted 0 times
...
Mee
4 days ago
I think the correct syntax is B) stage('build') { sh 'ant -f build.xml -v' }
upvoted 0 times
...

Save Cancel