The following example shows how to use Jenkins projects to build a mainframe applications.
You are going to use Enterprise Developer and the BankDemo sample stored in the \Mainframe\BankDemo subfolder in the location of the Enterprise Developer samples (which is c:\users\Public\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\BankDemo by default).
Before you create a Jenkins project:
Prepare your mainframe sample:
Your mainframe solution is stored in the C:\MFETDUSER\Bankdemo\Projects\Studio folder.
To create a Jenkins project for building the sample:
call "VSCMDpath\VsDevCmd.bat"
Where VSCMDpath is the location of the Visual Studio command prompt batch file. For example, for Visual Studio 2019 Professional this is C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\Tools. Executing this sets the environment for building COBOL projects created with Visual Studio.
MSBuild "C:\MFETDUSER\Bankdemo\Projects\Studio\BankDemo.sln"