From f5fd2f2718a4bf8492c75c086ee094c7ba0f2436 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Fri, 27 Jan 2023 12:51:37 +0000 Subject: [PATCH] Initial Bitbucket Pipelines configuration --- bitbucket-pipelines.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 bitbucket-pipelines.yml diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml new file mode 100644 index 0000000..30d6a42 --- /dev/null +++ b/bitbucket-pipelines.yml @@ -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 + \ No newline at end of file