Skip to content

Commit a078b32

Browse files
committed
ci(QTDI-996): Fix script when no build before and bump the shared lib
https://qlik-dev.atlassian.net/browse/QTDI-996
1 parent 1fb993d commit a078b32

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

Jenkinsfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff 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 $pomVersion $params.ACTION.")
699+
false // Post for failure
700+
)
699701
}
700702
recordIssues(
701703
enabledForFailure: false,

0 commit comments

Comments
 (0)