diff options
| author | Oleg Pykhalov <go.wigust@gmail.com> | 2019-07-09 01:53:31 +0300 |
|---|---|---|
| committer | Oleg Pykhalov <go.wigust@gmail.com> | 2019-07-09 14:09:50 +0300 |
| commit | 3e621602579ac1e8ac1dbbd6bebc0e4048be49a1 (patch) | |
| tree | 29f857224d07da943f62459c74983615dc23e060 | |
| parent | Initial commit. (diff) | |
| download | guix-my-packages-3e621602579ac1e8ac1dbbd6bebc0e4048be49a1.tar.gz | |
vars: guix: Notify build failure via email.
* vars/guix.groovy: Notify build failure via email.
| -rw-r--r-- | vars/guix.groovy | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vars/guix.groovy b/vars/guix.groovy index ab95ada..7b3a1f3 100644 --- a/vars/guix.groovy +++ b/vars/guix.groovy @@ -3,5 +3,6 @@ def build(String pack) { sh "guix build --no-grafts ${pack}" } catch (Exception error) { echo "Stage failed, but we still continue" + mail bcc: '', body: "${pack} failed to build", cc: '', from: 'Jenkins <go.wigust@gmail.com>', replyTo: '', subject: "${pack} failed to build", to: 'go.wigust@gmail.com' } } |
