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 {
|
||||
agent any {
|
||||
tools {
|
||||
jdk 'jdk8'
|
||||
}
|
||||
}
|
||||
agent any
|
||||
|
||||
options {
|
||||
buildDiscarder(
|
||||
|
@ -19,7 +15,9 @@ pipeline {
|
|||
label 'linux'
|
||||
}
|
||||
|
||||
|
||||
tools {
|
||||
jdk "jdk8"
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
sh '''
|
||||
|
|
Loading…
Reference in a new issue