mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:25:49 +00:00
BuildSpec file added
This commit is contained in:
parent
56f09331aa
commit
66d4831c2c
1 changed files with 19 additions and 0 deletions
19
buildspec.yml
Normal file
19
buildspec.yml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
version: 0.2
|
||||||
|
|
||||||
|
phases:
|
||||||
|
install:
|
||||||
|
runtime-versions:
|
||||||
|
java: openjdk8
|
||||||
|
pre_build:
|
||||||
|
commands:
|
||||||
|
- echo Nothing to do in prebuild
|
||||||
|
build:
|
||||||
|
commands:
|
||||||
|
- echo Build started on 'date'
|
||||||
|
- mvn package
|
||||||
|
post_build:
|
||||||
|
commands:
|
||||||
|
- echo Build completed on 'date'
|
||||||
|
artifacts:
|
||||||
|
files:
|
||||||
|
- target/spring-petclinic-2.2.0.BUILD-SNAPSHOT.jar
|
Loading…
Reference in a new issue