aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/deliverable.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/deliverable.c b/src/deliverable.c
index ce11680..8a267c1 100644
--- a/src/deliverable.c
+++ b/src/deliverable.c
@@ -332,14 +332,8 @@ int delivery_build_recipes(struct Delivery *ctx) {
char command[PATH_MAX];
sprintf(command, "build --python=%s .", ctx->meta.python);
status = conda_exec(command);
- if (status) {
- fprintf(stderr, "failed to build deployment artifact: %s\n", ctx->tests[i].build_recipe);
- msg(OMC_MSG_WARN | OMC_MSG_L1, "ENTERING DEBUG SHELL\n");
- system("bash --noprofile --norc");
- exit(1);
- if (!ctx->meta.continue_on_error) {
- return -1;
- }
+ if (status && !ctx->meta.continue_on_error) {
+ return -1;
}
if (RECIPE_TYPE_GENERIC != recipe_type) {