title: Deployment automation of RPGLE with Gradle on IBM i
body: <p>Does anyone have an expertise on building IBM i software: rpgle, sqlrpgle, clle programs, srvpgms with gradle?</p>
  
  <p>The idea for now is:</p>
  
  <ul>
  <li>all source code stored in git repo</li>
  <li>jenkins ci, integrated with git, pulls software update</li>
  <li>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</li>
  <li>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. </li>
  </ul>
  
  <p>The gradle project should be something like this:</p>
  
  <ul>
  <li>transfer source code on server</li>
  <li>execute remote compilation of each object with instructions from json</li>
  <li>deploy binaries in specified libraries</li>
  <li>execute commands - create dataara, change it, run sql scripts and others</li>
  </ul>
  
  <p>So the questions are:</p>
  
  <ol>
  <li>Is that scheme correct?</li>
  <li>Are gradle project phases correct?</li>
  <li>How can I implement that in gradle?</li>
  </ol>