Initial Bitbucket Pipelines configuration

This commit is contained in:
Greg Gauthier 2023-01-27 12:51:37 +00:00
parent 6846e37d88
commit f5fd2f2718

25
bitbucket-pipelines.yml Normal file
View File

@ -0,0 +1,25 @@
# 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.
image: maven:3.6.3
pipelines:
default:
- parallel:
- step:
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