# Building Backend Application
# Build, Test & Package
azure-pipelines.yml file to add a build application stage with a build backend application job.
stages : - stage: Build displayName: Build Application jobs: - job: Backend displayName: Build Backend Application
Next, by using Maven Task you are going to build the application using Maven goals
clean package and a JDK 1.8. Don’t forget to set
publishJUnitResults to true.
Now your build is failing as there is test failure. You can see the details of tests executions in Tests View.
Let’s correct it.
# Add Code Coverage Reports
The application is already configured to use JaCoCo Maven Plugin so you can use
codeCoverageSourceDirectories options to display code coverage reports.