version: 0.2 #env: #variables: # key: "value" # key: "value" #parameter-store: # key: "value" # key: "value" #secrets-manager: # key: secret-id:json-key:version-stage:version-id # key: secret-id:json-key:version-stage:version-id #exported-variables: # - variable # - variable #git-credential-helper: yes #batch: #fast-fail: true #build-list: #build-matrix: #build-graph: phases: #install: #If you use the Ubuntu standard image 2.0 or later, you must specify runtime-versions. #If you specify runtime-versions and use an image other than Ubuntu standard image 2.0, the build fails. #runtime-versions: # name: version # name: version #commands: # - command # - command #pre_build: #commands: # - command # - command build: commands: - ls -la $CODEBUILD_SRC_DIR - ls -la $CODEBUILD_SRC_DIR_SourceArtifact - mkdir ./artifact - cp -r $CODEBUILD_SRC_DIR_SourceArtifact/* ./artifact - cp $CODEBUILD_SRC_DIR/buildspec-e2e-rc.yml ./artifact/buildspec-e2e-rc.yml - ls -la ./artifact - ls -la ./artifact/* # - command # - command #post_build: #commands: # - command # - command #reports: #report-name-or-arn: #files: # - location # - location #base-directory: location #discard-paths: yes #file-format: JunitXml | CucumberJson artifacts: files: - '**/*' # - location # - location #name: $(date +%Y-%m-%d) #discard-paths: yes base-directory: artifact #cache: #paths: # - paths