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`