-
Notifications
You must be signed in to change notification settings - Fork 4
/
buildspec.yml
24 lines (24 loc) · 974 Bytes
/
buildspec.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: 0.2
phases:
install:
runtime-versions:
java: openjdk8
python: 3.7
commands:
- pip install pre-commit cloudformation-cli-java-plugin
build:
commands:
- pre-commit run --all-files
- cd "$CODEBUILD_SRC_DIR/localgatewayroute"
- mvn clean verify --no-transfer-progress
- cd "$CODEBUILD_SRC_DIR/localgatewayroutetable"
- mvn clean verify --no-transfer-progress
- cd "$CODEBUILD_SRC_DIR/localgatewayroutetablevifgroupassociation"
- mvn clean verify --no-transfer-progress
- cd "$CODEBUILD_SRC_DIR/localgatewayroutetablevpcassociation"
- mvn clean verify --no-transfer-progress
finally:
- cat "$CODEBUILD_SRC_DIR/localgatewayroute/rpdk.log"
- cat "$CODEBUILD_SRC_DIR/localgatewayroutetable/rpdk.log"
- cat "$CODEBUILD_SRC_DIR/localgatewayroutetablevifgroupassociation/rpdk.log"
- cat "$CODEBUILD_SRC_DIR/localgatewayroutetablevpcassociation/rpdk.log"