I have a cmd file that will execute the SQL file I using the a5m2cmd.
Example content of the cmd file is :
“%A5M2CMD_PATH%” “/Connect=__ConnectionType=Internal;ProviderName=PostgreSQL;UserName=%USER_NAME%;Password=%PASSWORD%;ServerName=%SERVER_NAME%;Port=%PORT%;Database=%DATABASE%;ProtocolVersion=30” /RunSQL /Encoding=UTF-8 “/FileName=%OUT_FILENAME%”
I would like to run the cmd file in Jenkins.
How can Jenkins know that the SQL file has error if ever?
Thank you.