Skip to content

Commit 2007202

Browse files
committed
chore: Add AWS CodeBuild buildspec
Adding buildspec to batch build multiple JDK environments * corretto8 * corretto11 * openjdk8 * openjdk11
1 parent fed2f10 commit 2007202

File tree

5 files changed

+61
-0
lines changed

5 files changed

+61
-0
lines changed

buildspec.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
version: 0.2
2+
3+
batch:
4+
fast-fail: false
5+
build-list:
6+
- identifier: openjdk8
7+
buildspec: codebuild/openjdk8.yml
8+
env:
9+
env:
10+
image: aws/codebuild/standard:3.0
11+
- identifier: openjdk11
12+
buildspec: codebuild/openjdk11.yml
13+
env:
14+
env:
15+
image: aws/codebuild/standard:3.0
16+
- identifier: corretto8
17+
buildspec: codebuild/corretto8.yml
18+
env:
19+
env:
20+
image: aws/codebuild/amazonlinux2-x86_64-standard:3.0
21+
- identifier: corretto11
22+
buildspec: codebuild/corretto11.yml
23+
env:
24+
env:
25+
image: aws/codebuild/amazonlinux2-x86_64-standard:3.0

codebuild/corretto11.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: 0.2
2+
3+
phases:
4+
install:
5+
runtime-versions:
6+
java: corretto11
7+
build:
8+
commands:
9+
- mvn install

codebuild/corretto8.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: 0.2
2+
3+
phases:
4+
install:
5+
runtime-versions:
6+
java: corretto8
7+
build:
8+
commands:
9+
- mvn install

codebuild/openjdk11.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: 0.2
2+
3+
phases:
4+
install:
5+
runtime-versions:
6+
java: openjdk11
7+
build:
8+
commands:
9+
- mvn install

codebuild/openjdk8.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: 0.2
2+
3+
phases:
4+
install:
5+
runtime-versions:
6+
java: openjdk8
7+
build:
8+
commands:
9+
- mvn install

0 commit comments

Comments
 (0)