Skip to content

Commit 866a250

Browse files
committed
ci: update
1 parent 96d0d2f commit 866a250

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/gradle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
java: [ 11 ]
17+
java: [ 8,11 ]
1818
steps:
1919
- uses: actions/checkout@v2
2020
- name: Set up JDK

Jenkinsfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
pipeline {
22
agent any
33
stages {
4-
4+
stage('build-Java8') {
5+
tools {
6+
jdk "Java8"
7+
}
8+
steps {
9+
sh "./gradlew clean build"
10+
}
11+
}
512
stage('build-Java11') {
613
tools {
714
jdk "Java11"

0 commit comments

Comments
 (0)