Skip to content
Snippets Groups Projects
Commit 36b5851d authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

offload: Exit with code 100 upon build failures.

* guix/scripts/offload.scm (transfer-and-offload): Exit with code 100
  upon build failure.
parent c4202d60
No related branches found
No related tags found
No related merge requests found
......@@ -350,7 +350,10 @@ (define* (transfer-and-offload drv machine
(derivation-file-name drv)
(build-machine-name machine)
(status:exit-val status))
(primitive-exit (status:exit-val status)))))))
;; Use exit code 100 for a permanent build failure. The daemon
;; interprets other non-zero codes as transient build failures.
(primitive-exit 100))))))
(define (send-files files machine)
"Send the subset of FILES that's missing to MACHINE's store. Return #t on
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment