Continuous Integration for PowerBuilder

PowerBuilder Legacy Compiler (2017-2022)

Continuous Integration for PowerBuilder

PowerBuilder 2022: Introduction of PBAutoBuild

PowerBuilder 2022 introduced the PBAutoBuild220.exe tool, replacing the old "PowerBuilder Compiler" (PBC) used in previous versions. This tool allows compiling and deploying PowerBuilder projects using DOS commands on Windows.

PBAutoBuild220.exe Characteristics

  • Standalone tool: Can automate the entire build and deployment process
  • Free to use: No additional license required
  • Constraint: Requires a PowerBuilder IDE license on the build machine
  • Dependency: Requires PowerBuilder Runtime installed

Supported Project Types

PBAutoBuild220.exe can compile:

  • Client/server applications (Application projects)
  • PowerClient applications
  • PowerServer applications

Installation

To install PBAutoBuild220.exe, run the PowerBuilder installer and select "PowerBuilder Utilities" in the Programs tab.

PowerBuilder 2017-2019: PowerBuilder Compiler (PBC)

PowerBuilder 2017 introduced a new standalone tool "PowerBuilder Compiler" (including OrcaScript). It has been designed to significantly facilitate build scripts, and allows the entire build and deployment process to be automated outside of PowerBuilder.

The PowerBuilder standalone compiler can compile or deploy PB projects using DOS commands on Windows.

PBC can also be used with PB2019 projects, but Appeon recommendedusing PBAutoBuild for newer versions.

Automated Build Generation with Jenkins and PBC

You can configure a Jenkins Job to use the PowerBuilder Standalone Compiler with the ORCAScript language.

Migration to PowerBuilder 2025

For new CI/CD implementations, it is recommended to migrate to PowerBuilder 2025 which brings:

  • High-performance compiler (2-3x faster)
  • Plain text source code (better Git/SVN integration)
  • PBAutoBuild250.exe without IDE license required
  • Built-in support for modern CI/CD workflows

This version offers a modern and efficient approach for continuous integration with PowerBuilder.