From 7ca8d0f7718c390fbd8aa66a42bfb04e03d36ff0 Mon Sep 17 00:00:00 2001 From: zontreck Date: Fri, 6 Sep 2024 03:13:09 -0700 Subject: [PATCH] Add jdk 8 tool to stage --- Jenkinsfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index b38a937..2225228 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 '''