Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Detecting Failed Change Sets During automated build process

$
0
0
I seem to be missing some very basic functionality using Liquibase.  I simply need my automated build process to FAIL whenever one of the sql changesets fail during execution.  No matter what i do, executing liquibase update on the command line ALWAYS reports successful.  We have tried using the --logLevel parameter, but it seems to be ignored as others have also reported.  The failed changesets do appear to have the failure logged to a logfile, which is not helpful at all within an automated build process.  For instance, we are using Liquibase within Ansible to execute the change sets.  Everything works great except that any SQL failures during execution of change sets are not reported back to Ansible.  They are not reported on the command line either, so how do you fail the automated process when a changeset fails to execute?  

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>