Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make the CI fail if the sample app fails to build #44

Merged
merged 2 commits into from
Jul 19, 2019

Conversation

mm318
Copy link
Contributor

@mm318 mm318 commented Jul 18, 2019

Description of changes:

It turned out that currently in the ws_builds/robot_ws.sh and ws_builds/simulation_ws.sh scripts, if colcon build fails, it will continue on to doing colcon bundle, and the CI will even be considered passing.

This fix adds set -e to those scripts so that the CI will fail if the build fails.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Signed-off-by: Miaofei <miaofei@amazon.com>
@mm318 mm318 requested review from juanrh and xabxx July 18, 2019 22:44
@xabxx
Copy link
Contributor

xabxx commented Jul 18, 2019

have you tried building an SA using this commit? would like to see a passing build.

Signed-off-by: Miaofei <miaofei@amazon.com>
@mm318
Copy link
Contributor Author

mm318 commented Jul 19, 2019

@xabxx
Copy link
Contributor

xabxx commented Jul 19, 2019

@mm318 mm318 merged commit 4ebf634 into master Jul 19, 2019
@mm318 mm318 deleted the propagate_build_error branch July 19, 2019 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants