Note: While the techniques described here still work, custom Jenkins plugins are now available which are easier to use. They are described in this article. |
In a previous blog post I examined how we could use the Git MSSCCI provider from PB Software in order to use GitHub as a source code provider for PowerBuilder.
In this blog post we're going to take that to the next step, in that we're going to create a build machine separate from our PowerBuilder development machine and then set it up to perform continuous integration. The term "continuous integration" has a somewhat ambiguous definition, but generally it means that:
- developers check in changes frequently (at least daily) and
- that build are done on a regular basis (at least daily, but can be as frequently as after each check-in)
Ideally, automated testing routines would be run on each build to ensure that feedback on any functionality that was broken by the latest code changes are returned to the developers as soon as possible. Automated testing is outside the scope of this particular article
One of the new features added in PowerBuilder 2017 is a license free stand alone compiler and we're going to use that for this article. If you are using a older version of PowerBuilder you could use the same approach using the command line argument feature of the PowerBuilder IDE, but it would require installing the full PowerBuilder IDE (including a license) on the build machine. Alternatively, regardless of which version of PowerBuilder you're using you could use PowerGen in scripted mode.