Process Flow - JUnit test report publishing
Start Pipeline
Run mvn test
Tests Execute
Post: always
junit step parses XML
Reports visible in Jenkins UI
Build marked stable/unstable
The pipeline runs Maven tests which generate JUnit XML reports. Regardless of pass or fail, the post/always block runs the junit step to parse XML reports and display results in Jenkins UI.