Comments (2)
Thanks for reporting this. This is currently by design. But I see your problem and happy to fix this after we gather some more info.
-
What do we do when command fails in one module? Currently, as you noted, we move on to executing the command in next available module. Should we continue to do this or should we fail fast? Or have an option to control this (
--fail-fast
) -
What should be the return code if a command fails? If we are operating under a option like
fail-fast
, we can certainly return the exit code from the user command. However, if we are moving on, and there are multiple failures, we need a strategy to decide which exit code to return.
My preference is to have --fail-fast
option. And if we run commands without this option, we can simply return 1
(For example, this is what build command does at the moment).
from mbt.
Thanks for the prompt answer! Yea they --fail-fast
option would be definitely helpful.
And returning 1
which is similar to build command would be better than returning 0
even though at least one module failed
from mbt.
Related Issues (20)
- Add "default command" behavior HOT 2
- Visualise the entirety of a filtered sub-graph HOT 7
- Passing command line arguments to `build` or any command HOT 5
- Versions of other folders as environment variables to current build HOT 4
- .NET core project native support HOT 1
- mbt does not restore a detached head after the build
- ENHANCEMENT: Exclude files from being considered when diffing between commits. HOT 1
- libssl.so.1.0.0 deprecated HOT 9
- Run builds or commands in parallel? HOT 7
- Template function for iterating modules in correct build order HOT 5
- Can't build mbt in alpine based container HOT 6
- Mbt run-in branch "BranchName" -m "createafile" not working
- How file diffrential handle by mbt? HOT 2
- mbt does not work in alpine HOT 2
- Diff build is not working as expected in CI
- Any plans for new Linux Release location? HOT 7
- MBT run-in with -c throws error on GitHub actions - Ubuntu 20.04.4 LTS HOT 2
- Tag a new release to benefit of static linking work brought on master HOT 4
- Improve documentation structure
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mbt.