In most cases, your Jenkins projects execute tasks in a command line environment and not inside the Enterprise Developer IDE. This means that the COBOL environment is not automatically preconfigured as it would be if you used the IDE. As a result, when you use Jenkins projects you typically need to manually set the COBOL environment for your projects.
To configure the environment for applications created with Enterprise Developer for Visual Studio:
call "VSCMDpath\VsDevCmd.bat"
Where VSCMDpath is the location of the Visual Studio command prompt batch file. For example, for Visual Studio 2017 this is C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\Tools. Enterprise Developer integrates with the Visual Studio development environment so executing this sets the environment for building COBOL projects created with Visual Studio.