You're a DevOps engineer in charge of your team's Jenkins server. You have a particular stage in your pipeline that you want to run on a particular build node. You have to have Apache installed on this node. Assuming the node has been appropriately labeled, "apache", how would you ensure this stage ran on that node?
Answer(s): B
Example: stage('deploy') { agent { label 'apache' } steps { sh "if ![ -d'/var/www/html/rectangles/all/${env.BRANCH_NAME} ' ]; then mkdir/var/www/html/rectangles/all/${env.BRANCH_NAME}; fi" sh "cp dist/rectangle_${env.MAJOR_VERSION}.${env.BUILD_NUMBER}.jar/var/www/html/rectangles/all/${env.BRANCH_NAME}/" }
You are interested in integrating CI/CD in your work environment, but your team lead and several of your team members do not understand the concept. Your boss believes that continuous delivery will mean that someone (namely, you) will need to be on-call around the clock for constant monitoring and deployment of new code. You have a two-minute window to quickly explain what continuous delivery means. Out of the following answers, what is the clearest and most succinct correct answer?
Answer(s): D
Continuous delivery means software is integrated continuously and is ready to be released at any time.
What types of notification integrations are there?
All of these notification integrations are available.
Which plugin provides Git hook functionality?
Answer(s): A
Both of these very common plugins provide hook functionality
What is Ant?
Ant is a lightweight build platform for Java projects.
Post your Comments and Discuss CloudBees CJE exam prep with other Community members:
Our website is free, but we have to fight against AI 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.