I am executing liquibase update script as a part of octopus deployment step. Everything is working fine, but log is showing success message as Error. Attached image.
Below is the command I am executing
java -jar liquibase.jar --defaultsFile liquibase-env.properties update
Hi,
Thanks for getting in touch! This is a relatively common question. The issue is that Calamari (the command-line tool invoked by Tentacle during a deployment.) interprets non-zero script exit codes as a failure. This can mean that Calamari assumes your script failed even if it actually ran successfully. Best practice is to call Exit 0
yourself if your script ran successfully.
Hope that helps!
Rob
Notice:
This issue has been closed due to inactivity. If you encounter the same or a similar issue and require help, please open a new discussion (if we asked for logs or extra details in this thread, consider including them in the new thread). If you are the creator of this thread and believe it should not be closed let us know via our support email.