add buildspec

This commit is contained in:
beedua 2020-11-07 23:50:05 +00:00
parent 8b1ac6736e
commit 39ebd91cd5

19
buildspec.yml Normal file
View 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