We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0cd6f91 + 71ac875 commit 9d596dcCopy full SHA for 9d596dc
Jenkinsfile
@@ -58,9 +58,8 @@ pipeline {
58
steps {
59
sh 'python3 tools/deploy.py'
60
script {
61
- def failures_file = new File(env.FAILURE_FILE)
62
- if (failures_file.exists()) {
63
- currentBuild.description += failures_file.getText()
+ if (fileExists(env.FAILURE_FILE)) {
+ currentBuild.description += readFile(env.FAILURE_FILE)
64
currentBuild.result = 'UNSTABLE'
65
}
66
0 commit comments