mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 23:35:50 +00:00
add buildspec
This commit is contained in:
parent
8b1ac6736e
commit
39ebd91cd5
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