2023-01-27 12:51:37 +00:00
|
|
|
# Template maven-build
|
|
|
|
|
|
|
|
# This template allows you to test and build your Java project with Maven.
|
|
|
|
# The workflow allows running tests, code checkstyle and security scans on the default branch.
|
|
|
|
|
|
|
|
# Prerequisites: pom.xml and appropriate project structure should exist in the repository.
|
|
|
|
|
|
|
|
pipelines:
|
|
|
|
default:
|
|
|
|
- parallel:
|
|
|
|
- step:
|
2023-01-27 13:05:01 +00:00
|
|
|
runs-on:
|
|
|
|
- self.hosted
|
|
|
|
- macos
|
2023-01-27 12:51:37 +00:00
|
|
|
name: Run Webtests
|
|
|
|
caches:
|
|
|
|
- maven
|
|
|
|
script:
|
|
|
|
- mvn -B verify --file pom.xml
|
|
|
|
- mvn compiler:compile
|
|
|
|
- mvn compiler:testCompile
|
|
|
|
- mvn surefire:test
|
|
|
|
after-script:
|
|
|
|
# Collect checkstyle results, if any, and convert to Bitbucket Code Insights.
|
|
|
|
- pipe: atlassian/checkstyle-report:0.3.0
|
|
|
|
|