xref: /aosp_15_r20/external/aws-crt-java/codebuild/cd/test-version-exists.yml (revision 3c7ae9de214676c52d19f01067dc1a404272dc11)
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