Automate RPGLE Deployment with Gradle on IBM i

Does anyone have experience creating IBM i software: rpgle, sqlrpgle, clle programs, srvpgms with gradle?

The idea at the moment:

  • all source code saved in git repo
  • jenkins ci integrated with git retrieves a software update.
  • there is a json file in commit, where the full description of the release is stored (project information, dependencies, a description of all objects with assembly instructions), as well as pom.xml in maven
  • at this point, jenkins should run the gradle task, which should collect all the programs from the source code in the jenkins working directory, based on the instructions in the json file. But the problem is that IBM compilation is available only on the server, and there are no plugins available for this.

The gradle project should look something like this:

  • server transmission source code
  • remotely compile each object with instructions from json
  • deploy binary files to specified libraries
  • execute commands - create dataara, change it, run sql scripts and others.

So the questions are:

  • Is this circuit correct?
  • Are gradle project steps right?
  • How can I implement this in gradle?
+7
continuous-integration jenkins gradle ibm-midrange rpgle
source share
1 answer

I know that I'm a little late, but for those who read this later, my 2 cents:

I made Jenkins, Git and compiled part of the question. Although I used a simple shell script instead of gradle, it could be customized.

Here are my documented steps: http://wiki.rpgnextgen.com/doku.php?id=ibm_i_and_continuous_integration

And I used the following repo for testing: https://bitbucket.org/m1hael/linkedlist

+1
source share

All Articles