Does anyone have an expertise on building IBM i software: rpgle, sqlrpgle, clle programs, srvpgms with gradle?
The idea for now is:
- all source code stored in git repo
- jenkins ci, integrated with git, pulls software update
- there is a json file in commit also, where stored a full description of release (project info, dependencies, all objects description with build instructions), just like pom.xml in maven
- on that place jenkins should run gradle task that should build all programs from source code in jenkins working directory, based on instructions in json file. But the problem is - for IBM i compilation available only on server and there is no plugins available for that.
The gradle project should be something like this:
- transfer source code on server
- execute remote compilation of each object with instructions from json
- deploy binaries in specified libraries
- execute commands - create dataara, change it, run sql scripts and others
So the questions are:
- Is that scheme correct?
- Are gradle project phases correct?
- How can I implement that in gradle?