• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1version: 0.2
2#this build spec assumes the aws-common-runtime/ubuntu-16.04 image
3#this build run simply verifies we haven't published something at this tag yet.
4#if we have we fail the build and stop the pipeline, if we haven't we allow the pipeline to run.
5phases:
6  install:
7    commands:
8  pre_build:
9    commands:
10  build:
11    commands:
12      - echo Build started on `date`
13      - cd aws-crt-java
14      - bash ./codebuild/cd/test-version-exists.sh
15  post_build:
16    commands:
17      - echo Build completed on `date`
18
19