If some of your COBOL projects build successfully but others fail unexpectedly, it suggests that the problem is with the project (or a project-based configuration in either Visual COBOL or Jenkins) rather than with the build system itself.
To investigate what the possible causes might be: