File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -241,8 +241,10 @@ pipeline {
241241 script {
242242 echo " edit asdf tool version with version from jenkins param"
243243
244- String javaVersion = asdfTools. setVersion(" $env . WORKSPACE /.tool-versions" , ' java' , params. JAVA_VERSION )
245- String mavenVersion = asdfTools. setVersion(" $env . WORKSPACE /.tool-versions" , ' maven' , params. MAVEN_VERSION )
244+ String javaVersion = asdfTools. setVersion(" $env . WORKSPACE /.tool-versions" ,
245+ ' java' , params. JAVA_VERSION )
246+ String mavenVersion = asdfTools. setVersion(" $env . WORKSPACE /.tool-versions" ,
247+ ' maven' , params. MAVEN_VERSION )
246248 jenkinsJobTools. job_description_append(" Use java $javaVersion with maven $mavenVersion " )
247249
248250 println " asdf install the content of repository .tool-versions'\n "
@@ -694,8 +696,8 @@ pipeline {
694696 currentBuild. result,
695697 prevResult,
696698 true , // Post for success
697- true , // Post for failure
698- " Failure of $p omVersion $p arams . ACTION . " )
699+ false // Post for failure
700+ )
699701 }
700702 recordIssues(
701703 enabledForFailure : false ,
You can’t perform that action at this time.
0 commit comments