Add jdk 8 tool to stage
This commit is contained in:
parent
56a0aade5e
commit
7ca8d0f771
1 changed files with 4 additions and 6 deletions
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
@ -1,9 +1,5 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent any {
|
agent any
|
||||||
tools {
|
|
||||||
jdk 'jdk8'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
options {
|
options {
|
||||||
buildDiscarder(
|
buildDiscarder(
|
||||||
|
@ -19,7 +15,9 @@ pipeline {
|
||||||
label 'linux'
|
label 'linux'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tools {
|
||||||
|
jdk "jdk8"
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
sh '''
|
sh '''
|
||||||
|
|
Loading…
Reference in a new issue