1. Justin Roeser
  2. PowerBuilder
  3. Monday, 18 September 2023 12:42 PM UTC

I am using PowerBuilder 2019 R3, and would like to automate our build process in a pipeline. At present, we are using a powershell script which in essence uses OrcaScript to create the build. The issue is that this needs to be kicked off manually and can frequently run into errors/issues due to our network latency and other factors.

To resolve this, we would like to automate this process in GitLab using a CICD pipeline. The issue is that we have a Linux runner in our pipeline and would need to be able to build the powerbuilder application from within a Linux container. As PowerBuilder is built within a windows environment, this clearly causes some issues.

I have looked at using Wine within Linux to do this, but so far have not been very successful. I get the following error (for obvious reasons):

41Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
 
I have done some research, and I did see an article doing PB on a pipeline with Jenkins and Bonobo (brucearmstrong.org/2017/07/continuous-integration-with.html). The problem here is that it is still expecting a Windows VM to be used for the build. I also see there is a PBAutoBuild210 available (https://docs.appeon.com/pb2021/whats_new/ch01s01s02.html), though this apperas to be for PB 2021 and newer and we are using PB 2019. I have seen some YouTube videos that all seem to use a Windows VM for building the application.
 
Are there any options or methods I can use to build my application in Linux?
Benjamin Gaesslein Accepted Answer Pending Moderation
  1. Monday, 18 September 2023 13:34 PM UTC
  2. PowerBuilder
  3. # 1

Hi Justin,

is there a reason you can't use a virtualbox Gitlab runner to run the build in a Windows VM? That's how it's done here, I think. I doubt you'll get it running on Wine.

Comment
  1. Justin Roeser
  2. Monday, 18 September 2023 14:45 PM UTC
Thank you for your reply, Benjamin!



Due to our security, we do not have access to VirtualBox to spin up a Windows VM. We do have OpenShift, but we do not have a Windows node in our cluster, so that rules that out as well.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Monday, 18 September 2023 15:30 PM UTC
Hi Justin;

FYI : PowerBuilder is a Windows O/S only development tool.

Regards ... Chris
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.