If the database isn’t correct the app can’t publish. Using the CI:
./viktor-cli ci-publish $(registered_name)
The failure of the viktor-cli isn’t recognized as an error:
How can i catch this error/failure and make sure my pipeline (In Azure Devops for instance) fails.
Hi Johan,
Thanks for reporting this. It is indeed expected that this would return an error code that can be handled. I’ll need to do some investigation. Will let you know!
This behavior is not only in this case but also when:
- an environment variable was not available during install
- a systempackage was not available during install (e.g. libgl1)
- An AppVersion with this tag already exists for this app
All these cases will return an error but are not recognized by github as a failing pipeline.
1 Like
This should now be fixed in the latest CLI release (v0.44.2)