1. Amit De Picciotto
  2. PowerBuilder
  3. Sunday, 17 April 2022 05:55 AM UTC

Hi,

Regarding the best practice automation build on PB 2021 (using PBautobild) , until 2021 the build process went like this:

Get latest version (TFVC) - to the PBLs

Import  source code (srd, srw, ...)

compile

 

Does PB 2021 allow to skip the import source stage?

If the steps are defined on the JSON, does the import source is needed?

Many thanks

 

Ken Guo @Appeon Accepted Answer Pending Moderation
  1. Monday, 18 April 2022 03:32 AM UTC
  2. PowerBuilder
  3. # 1

Hi Amit,

You can skip the import source step.

1. Sections of BuildPlan in the Build File are independent from each other, which means each section can run independently without relying on any other section.
For example, if there’s already source code in ws_objects, you can just set the Merging section, no need to set Download source code and you can leave Git, SVN, and VSS empty.
And if there’s PBL source code in your Git Server, you can set the Git section to download PBL source code and leave the Merging section empty.

2. Build File also supports disabling specific sections. If you want to disable any section, you can just add “\\” in front of the section name, such as “\\Git” or “\\SourceControl”.
But of course, if a section has no specific content set in it, then it will not run and there is no need to use "\\" to disable it.


Regards,
Ken

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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.