The following example demonstrates how to configure Jenkins to perform code analysis of COBOL projects created with
Visual COBOL.
Example with a Visual Studio Project
Before you configure Jenkins, you need to do the following:
- Ensure
Visual COBOL for Visual Studio is installed.
- Configure your COBOL projects for code analysis in
Visual COBOL. See
Performing Code Analysis when Building a Project in the IDE for more information.
To integrate code analysis in Jenkins:
- Create a Jenkins project.
- Configure the project to work with COBOL - see
Setting up the Environment.
- In the
Build section of the project's configuration, use MSBuild with parameters for code analysis.
See
Performing Code Analysis from the Command Line for more information.