[jenkins] Add Build JDK 11 step
This commit is contained in:
parent
a7fd9c6523
commit
cad90288f4
1 changed files with 8 additions and 0 deletions
|
@ -78,6 +78,14 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Build Java 11') {
|
||||||
|
when { expression { dependenciesSupportJDK >= 10 } }
|
||||||
|
steps {
|
||||||
|
withMaven(maven: 'maven', jdk: 'JDK 11') {
|
||||||
|
sh "${mvn} clean --activate-profiles verify verify -Djava.version=11"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue