Why is the build yellow (UNSTABLE)?
QuizMediumAsked in: Accenture, Capgemini, Google, Infosys, Salesforce, TCS, Wipro, Zupee
A pipeline runs the tests with a command that exits 0 even when tests fail, then junit 'reports/*.xml' records one failed test. What is the build result?
- UNSTABLE (yellow): the junit step marks the build unstable when results contain failures
- SUCCESS, because every step exited 0
- FAILURE
- ABORTED
This question is part of Pro+
Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.