blob: f254c58e8141b784b28f823544ad3ecb5d537efe [file] [log] [blame] [edit]
version: 0.2
#this build spec assumes the aws-common-runtime/ubuntu-16.04 image
#this build run simply verifies we haven't published something at this tag yet.
#if we have we fail the build and stop the pipeline, if we haven't we allow the pipeline to run.
phases:
install:
commands:
pre_build:
commands:
build:
commands:
- echo Build started on `date`
- cd aws-crt-java
- bash ./codebuild/cd/test-version-exists.sh
post_build:
commands:
- echo Build completed on `date`