Toad World® Forums

running code analysis from command line on Continuous integration server


#1

I Like to run Code Analysis on our continuous integration server.
Is there anyone out there who can help me configure this.
TOAD (11.6.1.6) is installed on our CI server.

Thanks in advance for your replies.

Kind regards,
Albert


#2

The easiest way to do this is to create a CA action for this and execute toad via the command line using the -a “” syntax. In Toad 12 (available in the current beta), you have the ability to build the action using wildcards so as the objects in your DB change, the action will automatically keep up with those changes.

In addition, by stacking actions in an “application”, you can take the result files and move them somewhere automatically. An example of this would be to have the CA action output to an HTML file and FTP that HTML file to an internal website. You could also attach the output to an e-mail or simply use one of the file actions to move it to a different location.

Please see the help file for more information on actions.

Greg