1. Glenn Benscoter
  2. PowerBuilder
  3. Wednesday, 20 January 2021 21:39 PM UTC

Cannot seem to find any information on this.  Someone said it would be made easier in R3.  We had been using Synergy and storing the PBLS and using Orca to build.  Since using the PB Native GIT interface pulls the source out of the pbls they no longer work.  What is a typical ocra script to do a build from GITLab Enterprise?

 

Thanks

Glenn Benscoter

Noel Hibbard Accepted Answer Pending Moderation
  1. Wednesday, 3 February 2021 20:30 PM UTC
  2. PowerBuilder
  3. # 1

We actually don't track PBLs in our Git repo at all. We use an orca script to build brand new PBLs from scratch when doing a new build. It's worked really well. We do something similar to this:

git fetch --all
git reset --hard origin/master
 
That will pull the latest source from our repo and wipe out any trash left behind from a previous build.
 
Then we have an orca script similar to this to generate new PBLs and then deploy new PBDs and a new EXE.
 
start session
scc set connect property localprojpath ".\"
scc set connect property logfile "C:\buildserver\root\logs\build.log"
scc set connect property logappend false
scc set connect property deletetempfiles "true"
scc connect offline
scc set target ".\example.pbt" "refresh_all importonly"
scc refresh target full
build library ".\example.pbl" "" pbd
build executable ".\example.exe" ".\resources\example.ico" "" "y" newvstylecontrols
scc close
end session
Comment
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 20 January 2021 22:01 PM UTC
  2. PowerBuilder
  3. # 2

I recommend upgrading to PowerBuilder 2019 R3 (available to download on Monday January 25th).  Git has been enhanced greatly, supporting creating & switching branches, merging conflicts, and reviewing detailed error logs.  There are also other useful enhancements to the IDE covered in this Webinar: https://youtu.be/KdyDHDZhMp4

As far as how to automate your build process with Git, I recommend taking a look at this tech article: https://community.appeon.com/index.php/articles-blogs/tutorials-articles/2-powerbuilder/178-revisiting-continuous-integration-with-powerbuilder-2017-bonobo-git-and-jenkins

 

 

Comment
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.