mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-21 21:57:56 +01:00
Configure pipeline for build on master.
This commit is contained in:
parent
ddb7de8c63
commit
4c5097a8fc
27
bitbucket-pipelines.yml
Normal file
27
bitbucket-pipelines.yml
Normal file
@ -0,0 +1,27 @@
|
||||
# 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: Build and Test
|
||||
caches:
|
||||
- maven
|
||||
script:
|
||||
- mvn -B verify --file pom.xml
|
||||
after-script:
|
||||
# Collect checkstyle results, if any, and convert to Bitbucket Code Insights.
|
||||
- pipe: atlassian/checkstyle-report:0.2.0
|
||||
- step:
|
||||
name: Security Scan
|
||||
script:
|
||||
# Run a security scan for sensitive data.
|
||||
# See more security tools at https://bitbucket.org/product/features/pipelines/integrations?&category=security
|
||||
- pipe: atlassian/git-secrets-scan:0.4.3
|
Loading…
Reference in New Issue
Block a user