Add jdk 8 tool to stage
This commit is contained in:
parent
4891a2ba33
commit
56a0aade5e
1 changed files with 5 additions and 4 deletions
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
|
@ -1,5 +1,9 @@
|
|||
pipeline {
|
||||
agent any
|
||||
agent any {
|
||||
tools {
|
||||
jdk 'jdk8'
|
||||
}
|
||||
}
|
||||
|
||||
options {
|
||||
buildDiscarder(
|
||||
|
@ -13,9 +17,6 @@ pipeline {
|
|||
stage("Build on Linux") {
|
||||
agent {
|
||||
label 'linux'
|
||||
tools {
|
||||
jdk 'jdk8'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue