The following example shows how to use Jenkins projects to build COBOL source code.
You are going to use Visual COBOL and one of the MFUnit Airport samples to see how to use Jenkins to build a COBOL application. The sample is stored in the \COBOL\AirportMFUnitDemo subfolder in the location of the Visual COBOL samples (which is c:\users\Public\Documents\Micro Focus\Enterprise Developer\Samples\COBOL\AirportMFUnitDemo by default).
Before you create a Jenkins project, ensure that the following software is installed on the machine where you will build the sample:
To create a Jenkins project for building the sample:
cd C:\Users\Public\Documents\Micro Focus\Enterprise Developer\Samples\Eclipse\cobol\AirportDemo call ant -f .cobolProj -Dlinkedfolder.Sources=C:/MFETDUSER/BankDemo/Sources
See To Build a Project Using Apache Ant for some useful Ant options you can use to build your projects.