There are various way you can integrate code analysis into a continuous integration (CI) framework and a number of plugins that enhance the features.
The following provides some guidelines on how to configure Jenkins for analyzing Eclipse COBOL projects:
rem use the following script to set the COBOL environment: call "product-install-dir\CreateEnv.bat" rem change to the directory on the machine that stores the COBOL sources and the .cobolBuild file: cd workspace-dir rem set the classpath environment variable: set CLASSPATH=product-install-dir\bin\mfant.jar;%CLASSPATH% rem perform code analysis using the .cobolBuild script: ant -f .cobolBuild build.and.analyze -DanalysisFailOnError=true