Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

BLT deploy does not stop on error event #3661

Closed
dimdiden opened this issue May 17, 2019 · 0 comments · Fixed by #3662
Closed

BLT deploy does not stop on error event #3661

dimdiden opened this issue May 17, 2019 · 0 comments · Fixed by #3662
Labels
Bug Something isn't working
Milestone

Comments

@dimdiden
Copy link

I want to...
I have BLT tool integrated into our CI/CD process. One of the pipeline steps is to make sure deploy --dry-run is ok.
I have removed ssh key for the repository to imitate a git fetch fail.

It's not working because...
Whole command blt artifact:deploy -vvv --ignore-dirty --no-interaction --dry-run finshed succesfully, but here is what I have in the verbose output:

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
[ExecStack]  Exit code 128  Time 1.493s

but it kept on executing the next commands and eventually gave me the state "Done". Jenkins detects this step as a successful one.

I expect when I run BLT deploy, any failed Robo Tasks would stop the whole process and report back the general fail. Is there any possibility of configuring this behavior?

Please let me know if I'm missing something.

@dimdiden dimdiden added the Support A support request label May 17, 2019
danepowell added a commit to danepowell/blt that referenced this issue May 17, 2019
@danepowell danepowell added Bug Something isn't working and removed Support A support request labels May 17, 2019
@danepowell danepowell added this to the 10.1.0 milestone May 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants