The "stand alone compiler" option seems very nice, but we need to get the PBL's updated from TFS as well, does anybody know if an automated "Get Latest" or similar is also possible?
- You are here:
- Home
- Q&A
- Q&A
- PowerBuilder
- Automated Get latest with stand alone compiler.
- Jan Hoppe
- PowerBuilder
- Tuesday, 7 January 2020 09:26 AM UTC
- Wednesday, 8 January 2020 07:39 AM UTC
- PowerBuilder
- # 1
Thank you for your responses.
Rene, as I read it, it is the Jenkins that will do the "Get latest" for me, is that correct?
and Michael you believe that I can do the "Get latest" using orcascript, correct?
Brgds Jan Hoppe
- Michael Kramer
- Wednesday, 8 January 2020 08:14 AM UTC
-
Helpful Loading... Helpful 0
- René Ullrich
- Wednesday, 8 January 2020 09:12 AM UTC
-
Helpful Loading... Helpful 0
- Tuesday, 7 January 2020 13:14 PM UTC
- PowerBuilder
- # 2
Hi Jan,
Yes, ORCAScript is the way forward.
Internal Info
Back in 2011-2012 I built a ORCAScript + PowerShell scriptset so that Bent B. could click on desktop icon and about half hour later we had a newly built install-package available on the customer FTP site. You may be able to track that down if anyone can help you find the old files.
Script used PB IDE with command-line options to build .EXE + .PBDs because ORCAScript didn't apply version data from the build project to the .EXE. With a little luck you can just replace that call with call to the command-line compiler and you are good to go.
HTH /Michael
- René Ullrich
- Wednesday, 8 January 2020 06:23 AM UTC
in my tests the OrcaScript does apply the version data to EXE. You have to use
set exeinfo property ...
commands in the OrcaScript.
e.g.
set exeinfo property copyright "My Copyright"
set exeinfo property productname "My Product"
set exeinfo property description "My Description"
set exeinfo property fileversion "1.0.0.0"
set exeinfo property fileversionnum "1,0,0,0"
set exeinfo property productversion "1.0.0.0"
set exeinfo property productversionnum "1,0,0,0"
-
Helpful Loading... Helpful 0
- Michael Kramer
- Wednesday, 8 January 2020 09:10 AM UTC
I created an initial "deploy pipeline" to run at click of a button (later then automate fully). 1) Get Latest; 2) Create EXE+PBD-set; 3) Build installer; 4) Deploy to "downloads". My goal was "no duplicate" info. Version control also stored all images and DB upgrade scripts to be run at every customer site. "No duplicate" was very important for consistency.
Also, I'd rather let a team of PB developers know how to set version info in project painter than teach every team member to edit ORCA files.
Due to manual step in build/deploy it often took us 3 days to have installer ready for a test customer. We ended up having installer ready at effort below 30 seconds per deploy. Total pipeline completed within 30-45 minutes.
-
Helpful Loading... Helpful 0
- Michael Kramer
- Wednesday, 8 January 2020 09:13 AM UTC
-
Helpful Loading... Helpful 0
- Tuesday, 7 January 2020 09:36 AM UTC
- PowerBuilder
- # 3
Hallo Jan,
you can do that using OrcaScript.
HTH,
René
- Page :
- 1
However, you are not allowed to reply to this question.