Convert PDS to zJenkins Project
- Conversion process from PDS to zJenkins project
- Create new Git repository on the Git server for the new project
- Create new Java project in Eclipse
- You can use whatever type of project you wish, in the example, we use Java since the project could contain Java for z/OS
- Create src folders
- src/main/zOS, make zOS folder in build path 'use as Source Folder'
- build source packages, for asm, BMS, cobol and eztrieve, have additional nodes, for example
- com.ibm.cobol.v4opts#1 package can contain Cobol source to Compile with v4 and one set of Cobol Options
- com.ibm.cobol.v4opts#2 package can contain Cobol source to Compile with v4 and another set of Cobol Options
- com.ibm.cobol.v6opts package can contain Cobol source to Compile with v6
- M more information see the "ProjectName".properties information below
- build, file build.groovy, which can be copied from the sample MortgageApplication/build
- There are no changes required to the build.groovy. It calls the zJenkins ZosAppBuild
- conf, has two files, package.txt and "Jenkins project Name".properties
- package.txt contains the list source files to build. Generics can be used
- "Jenkins project Name".properties contains custom project only properties.
- By default, the name must match the Jenkins project name
- Some custom project override properties
- devHLQ is the High Level Qualifier for the build PDS file names
- ddioName is the name of the Xpediter DDIO file, will get deleted/defined, if Xpediter compiled is specified, during each build run
- appCopyLibs is a list of COPYBOOK libraries to used during the Compile process
- appSysLibs is a list of LOADLIBs or OBJECT libraries used during the LinkEdit process
- appMacLibs is a list of MACLIB libraries used during the Assembly process
- Cobolv4Opts will invoke Cobol v4.2 compile for each Cobol source file specified using the specified Compiler Options
- LKEDCNTL will add Linkedit control cards, pulls the *.nk file for the specified source files
- Cobolv6Opts will invoke Cobol v6 compile for each Cobol source file specified using the specified Compiler Options
- LinkOpts will override the default LinkEdit options for each source file specified
- AssemblerOpts will override the default Assembler options for each source file specified
- EztrieveOpts will override the default EasyTrieve options for each source file specified
- Xpediter will cause Xpediter Compile to used, plus delete/defined the DDIO file
- Adding the source files to Eclipse project
- Download the source files
- Move them into the correct packages
- Add the correct suffix, for Cobol programs .cbl
- Update the package.txt and "Jenkins Project Name".properties files accordingly
- Create Jenkins project, Create Jenkins Project
- Save the project to Git server. See the Git repository or Git documentation
- Build the Jenkins project