B4A.PM.SCRI.SENDTO#GIT-PULL-BRANCH
Summary
Details
- Object type
- SCRI
- Object Subtype
- -
- Object Folder
- PACKAGES/BEST4AUTOMIC/B4A.PM/SOURCE/SENDTO
- Active
- true
- Title
- Pulls a b4A packages from a Git branch
- Archive Key 1
- -
- Archive Key 2
- -
- Created
- WRITER/B4A am: 2022-03-24 08:03:03
- Last Modified
- WRITER/B4A am: 2024-01-09 10:39:00 8 x
- Last Used
- -
Custom Attributes
No custom attributes defined.
Process
:read &TYPE#,,
:read &PARENT_RUN#,,
:set &nl# = uc_crlf()
:set &object_type# = get_object_type( &NAME# )
:inc B4A.PM.JOBI.GET-PACKAGE-NAME $OBJECT$ = "&NAME#"
:set &organisation# = get_var( B4A.PM.VARA@XML.OPTIONS, "repositories", '/best4Automic/repositories/repository[@prefix="&B4AP_PACKAGE_PREFIX_O#"]/@resource' )
:if &organisation# = ' '
: set &organisation# = get_var( B4A.PM.VARA@XML.OPTIONS, "repositories", '/best4Automic/repositories/repository[@prefix="_DEFAULT_"]/@resource' )
:endif
:set &B4AP_PACKAGE_I# = &B4AP_PACKAGE_NAME_O#
:set &B4AP_ORGANISATION_I# = &organisation#
:set &repository# = get_var( B4A.PM.VARA.SETTINGS, GIT_REPOSITORY, 1 )
:set &repository# = resolve_var( &repository# )
:p "Repository: &repository#"
:put_prompt_buffer B4AB_MODULE_I# = "vcs.Pull"
:put_prompt_buffer B4AB_CONFIGURATION_I# = "package=&B4AP_PACKAGE_NAME_O#&nl#branch=&B4AP_GIT_BRANCH_I#&nl#vcs-fullname=&$USER_FL#&nl#vcs-email={BBC.SHARED.VARA@SEC_SQLI.GET_EMAIL_ADDRESS}&nl#repository=&repository#&nl#force=true"
:put_prompt_buffer B4AB_LOGIN_OBJECT_I# = "{B4A.PM.VARA.SETTINGS,GIT_LOGIN,1}"
:put_prompt_buffer B4AB_HOST_I# = "*"
:put_prompt_buffer B4AB_HOSTTYPE_I# = "{B4A.PM.VARA.SETTINGS,GIT_HOSTTYPE,1}"
:set &login_option# = get_var( B4A.BASE.VARA@XML.LOGIN-TYPES, "LOGIN_TYPE", '/best4Automic/base/login[@id="Git"]/@name' )
:put_prompt_buffer B4AB_LOGIN_OPTION_I# = &login_option#
:set &ret# = activate_uc_object( "B4A.BASE.JOBP@IF.RUN#LOGIN", WAIT )
Object Activations
Found 1 object activations
Zeilennummer | Scriptzeile |
---|---|
29 | :set &ret# = activate_uc_object( "B4A.BASE.JOBP@IF.RUN#LOGIN", WAIT ) |
Runtime
- ERT Method
- DYNAMIC_AVERAGE
- Current ERT
- 00 : 14 : 14 No. of past runs
- 0 +ERT Correction %
- 0
Sync
No sync definitions.
Variables
No variables defined.
Prompt Sets
B4A.PM.PRPT.SENDTO#GIT-PULL-BRANCH
- (B4AP_GIT_BRANCH_I#)
- Tooltip:
- Type:
- Default Value:
Automatic Deactivation
- Deactivate on Finish
- ALWAYS
- Deactivate After
- 0
Runtime Parameters
- AE Priority
- 0
- Timezone
- -
- Generate at runtime
- true
- Max. Parallel Tasks
- 0