Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Executing additional commands – PB Docs 2021 – PowerBuilder Library

Executing additional commands – PB Docs 2021

Executing additional commands

The entire build & deploy process is made up of
several steps, and additional commands can be executed before
and/or after some particular steps such as the “SourceControl”
and “BuildJob” steps.

For example, to add commands to remove the “build” folder
before downloading the source code:

Step 1: Create a bat file which contains the following
command, and save the bat file as Command_DeleteFolder.bat.

Step 2: In the exported build file, locate the “BuildPlan”
section and then the “PreCommand” sub-section; and add the file
path and name of Command_DeleteFolder.bat.

When the PBAutoBuild210.exe command is executed
later, it will execute the commands in Command_DeleteFolder.bat before it
downloads the source code.

Besides the “PreCommand” sub-section, there is also a
“PostCommand” sub-section for the “SourceControl” and “BuildJob”
steps, which allows you to execute commands after that
particular step.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x