Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 470 Bytes

File metadata and controls

29 lines (24 loc) · 470 Bytes

AWS CodePipeline CodeBuild step example

Note the scan's input artifact must be provided with the build's output artifact as shown in the configuration.

Example of Javascript CodeBuild (buildspec.yml)

version: 0.2
phases:
  build:
    commands:
      - npm install
artifacts:
  files:
    - '**/*'

Example of Maven CodeBuild (buildspec.yml)

version: 0.2
phases:
  build:
    commands:
      - mvn install
artifacts:
  files:
    - '**/*'