B4A.PM.SCRI.SENDTO#GIT-PUSH

Summary

Details

Object type
SCRI
Object Subtype
-
Object Folder
PACKAGES/BEST4AUTOMIC/B4A.PM/SOURCE/SENDTO
Active
true
Title
Pushes a b4A packages to Git
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:01 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 &repo_name# = str_sub( &B4AP_PACKAGE_NAME_O#, "#", "-" )
:set &repo_name# = str_sub( &repo_name#, "@", "_" )

:set &B4AP_PACKAGE_I# = &repo_name#
: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.Push"
:put_prompt_buffer B4AB_CONFIGURATION_I# = "package=&B4AP_PACKAGE_NAME_O#&nl#branch=&B4AP_GIT_BRANCH_I#&nl#message=&B4AP_MESSAGE_I#&nl#vcs-fullname=&$USER_FL#&nl#vcs-email={BBC.SHARED.VARA@SEC_SQLI.GET-EMAIL-ADDRESS}&nl#repository=&repository#"
: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
32 :set &ret# = activate_uc_object( "B4A.BASE.JOBP@IF.RUN#LOGIN", WAIT )

Runtime

ERT Method
DYNAMIC_AVERAGE
Current ERT
00 : 08 : 08 No. of past runs
0 +ERT Correction %
0

Sync

No sync definitions.

Variables

No variables defined.

Prompt Sets

B4A.PM.PRPT.SENDTO#GIT-PUSH

(B4AP_GIT_BRANCH_I#)
Tooltip:
Type:
Default Value:
(B4AP_MESSAGE_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