forked from techragesh/springboot-bitbucket-pipeline-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bitbucket-pipelines.yml
27 lines (26 loc) · 957 Bytes
/
bitbucket-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# This is a sample build configuration for Java (Maven).
# Check our guides at https://confluence.atlassian.com/x/zd-5Mw for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: maven:3.3.9
pipelines:
default:
- step:
name: Clean Build
caches:
- maven
script: # Modify the commands below to build your repository.
- mvn -B clean # -B batch mode makes Maven less verbose
- step:
name: Compile build
caches:
- maven
script: # Modify the commands below to build your repository.
- mvn -B compile # -B batch mode makes Maven less verbose
- step:
name: Package build
caches:
- maven
script: # Modify the commands below to build your repository.
- mvn -B package # -B batch mode makes Maven less verbose