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?
Answer(s): D
The steps declarative must exist inside the corresponding stage. stage('build') { steps { sh 'ant -f build.xml -v' } }
Which answer best describes continuous deployment?
Continuous deployment is an extension of continuous integration and continuous delivery. It's important to know the difference. Deployment indicated that the code is continuously deployed to production.
In a JUnit report, if we set the "Health report amplification factor" to 3 and there's a 10% failure, what's the health score?
Answer(s): B
You would take 100% then subtract (10%*3), thus 70%.
How can you trigger a downstream build?
Answer(s): A
Both of these options will work. "Triggered by another project" is configured by the downstream project, and the "Parameterized Trigger Plugin" is invoked from the upstream project. You'd only want to use one of these options.
Post your Comments and Discuss CloudBees CJE exam with other Community members:
Sandeep Singh commented on December 10, 2024 All questions are from real exam. UNITED STATES upvote
Pranesh commented on September 24, 2024 preparing for the exam. little help might be good UNITED STATES upvote
Neha commented on February 12, 2024 All questions are from real exam. Anonymous upvote
Sa commented on September 17, 2023 Amazing set CANADA upvote
Sampo Chan commented on July 18, 2023 Is the Certified Jenkins Engineer exam braindump useful? Anonymous upvote
Elliece commented on June 12, 2021 Very easy pass. All questions are from real exam. GERMANY upvote
Our website is free, but we have to fight against bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the CJE content, but please register or login to continue.