Exit with 0 even on failure
See original GitHub issueHi all!
I’m using mup in a continuous delivery environment.
Sometimes mup deploy
fails (wrong on my side) but but no failure is reported by my CD system.
It seems mup deploy
exits with 0 even on failure. Is it for reasons or it can be edited to report the failure to the delivery system?
Log example:
$ mup deploy
Building App Bundle Locally
Started TaskList: Pushing Meteor
[guy] - Pushing Meteor App Bundle to The Server
[guy] x Pushing Meteor App Bundle to The Server: FAILED
No such file
(node:41) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: No such file
Creating cache deploy-demo/deployment...
node_modules/: found 17061 matching files
Build succeeded
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:10 (5 by maintainers)
Top Results From Across the Web
How to return exit code 0 from a failed command
Simply append return 0 to the function to force a function to always exit successful. function a() { ls aaaaa 2>&1 return 0...
Read more >Why is exit code 0 even though the command is wrong?
Try 'id --help' for more information. Your command failed to execute with exit code 0. Your username is. I'm guessing that in some...
Read more >Bash: Run an executable giving a good exit status - Server Fault
I want to run an executable in Linux, and regardless of the exit status that it returns, I want to return a good...
Read more >Make a Shell Command Always Succeed | Peaceful Revolution
In bash and many other shells, zero is called successful exit status code, whereas any non-zero codes are failure exit codes.
Read more >Linux bash exit status and how to set exit status in bash
All of the Bash builtins return exit status of zero if they succeed and a non-zero status on failure. How do I display...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Production quality meteor deployments? Where?
Several jenkins automated builds are failing now because of this return code mismatch.
Help guys, please!
In 1.3.1, the error code will be 1 when a task list fails.