Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Guido Gunther
deb-build-jobs
Commits
93dac3fb
Commit
93dac3fb
authored
Jan 30, 2021
by
Guido Gunther
Committed by
Guido Gunther
Feb 03, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
blessed-builds: Move mail sending to finally
We always want to send mail Fixes:
2b2516b0
parent
312ee409
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
10 deletions
+5
-10
blessed_build_auto.groovy
blessed_build_auto.groovy
+5
-10
No files found.
blessed_build_auto.groovy
View file @
93dac3fb
...
...
@@ -214,21 +214,16 @@ pkgs.each { pkg ->
}
}
}
stage('Postbuild') {
node ('${node_label}') {
emailext (
to: "${email_to}",
subject: "[arm02] \${currentBuild.result} \${currentBuild.fullDisplayName}",
attachLog: true,
)
}
}
} catch(err) {
if(currentBuild.result == 'NOT_BUILT') {
print "Build aborted. Build criteria not met."
}
} finally {
emailext (
to: "${email_to}",
subject: "[arm02] \${currentBuild.result} \${currentBuild.fullDisplayName}",
attachLog: true,
)
cleanWs cleanWhenFailure: false, cleanWhenSuccess: true, deleteDirs: true
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment