%action%
null or a string representing the action to be performed on the changelist or task.
For example,"Added pending changes 123
"THE"Approved Changes 124 Deleted
" Possible%action%
valuesChange
form and "created task 000123
"THE"work000123 Editing
" Possible%action%
valueWork
form.
submission of the form
%File List%
download the file
%argc%
Number of command parameters.
Exceptfile
% arguments %
Command parameter string.
Exceptfile
%reference arguments%
The command parameter string contains the command parameters as a comma-separated list of percent encoded position.
Exceptfile
%A changelog%
,%Change%
Approved change list number. abbreviation%Change%
equivalent%A changelog%
.
ONEcommitment to change
The trigger is passed to the pending changelist number. ANDcommitment to change
The trigger receives a changelist number to commit.
ONEsuspended
Lubdeletion pending
The trigger receives the number of the shelf change list.
Change Upload Push Upload Change Content Push Content Change Upload Push Upload Edit Add Edit Delete Form Upload Wait Upload Wait Delete
%changeroot%
Root path of the commit file.
push commit change
%Customer%
The client workspace name of the activation user.
All
%cwd% of the client
The client's current working directory.
Exceptfile
%client_host%
The hostname of the user's workstation (even if connected through a proxy, proxy, mirror, or edge server).
All
%Customer%
The IP address of the user's workstation (even if connected through a proxy, proxy, replica or edge server).
All
%client prog%
User client application name. For example,P4V, P4Win
All
%client version%
The version of the user agent.
All
%Series%
Command name.
Exceptfile
%warehouse name%
Image Upload Started Image Push Report Image Push Report Completed Image Push Completed
%E-MAIL%
auth-pre-2faauth-init-2faauth-check-2fa
%document%
Repository based file pathMap:
side. IfMap:
the field is relativeP4ROOT
, Ten%document%
is the server-side path relative toP4ROOT
.IfMap:
the field is an absolute path,%document%
is an absolute server-side path.
file
%firstPushedChange%
The first new changelist number.
LookAdditional triggers for push and get commands.
Series
%table file%
The path to the temporary form specification file. from the edit formexists
LubGo outside
activation, replace this file. The file is read-only for type triggersrescue
Iremove
.
send form save form send notification form delete form
%table name%
Form name (for example, branch name or changelist number).
form submit save form form submit notification delete
%table type%
form type (egbranch
,Change
etc.).
form submit save form form submit notification delete
%Full name and surname%
auth-pre-2faauth-init-2faauth-check-2fa
%club%
Space-separated list of groups the user belongs to.
Exceptfile
%host%
auth-pre-2faauth-init-2faauth-check-2fa
%indirect service%
There is a broker or agent.
Exceptfile
%Work%
The job number string expanded to the parameter to userepair p4
order or any job number added to (or removed from)Work:
in the fieldsubmission p4
, Lubp4 changes
form.
correction-addition, correction-deletion
%lastPushedChange%
Latest new changelist number.
LookAdditional triggers for push and get commands.
Series
%maxErrorSeverity%
aempty
,error
, Lubwarn
.
Exceptfile
%maxErrorText%
Error number and text.
Exceptfile
%maxLockTime%
A user-defined value that specifies the maximum number of milliseconds allowed for database locks. If this variable is set, it means that the user has overridden the group setting for this value.
Exceptfile
%Maximum Scores%
A user-defined value that specifies the amount of data that is cached when the command is executed. If this variable is set, it means that the user has overridden the group setting for this value.
Exceptfile
%maxScanRows%
A user-defined value that specifies the maximum number of rows to scan in one operation. If this variable is set, it means that the user has overridden the group setting for this value.
Exceptfile
%method%
%New price%
Map push report
%oldchangelist%
If the changelist was renumbered during the commit, this variable contains the old changelist number.
push commit change
%oldValue%
Map push report
%op%
Mode:To read
,To write
, Lubremove
.
file
%peerhost%
If the command was sent through a proxy, proxy, replica, or edge server, the host name of the proxy, proxy, replica, or edge server. (If you send the command directly,%peerhost%
matches%client_host%
)
All
%contemporary%
If the command was sent through a proxy, proxy, replica, or edge server, the IP address of the proxy, proxy, replica, or edge server. (If you send the command directly,%contemporary%
matches%Customer%
)
All
%P4PORT%
The port of the host to which the client is connecting. If the client connects to the server through a proxy, the proxy's port number will be stored there. It would be the same without an intermediary%server address%
Exchange.
authorization check(client scenario only)
%motivator%
Image Upload Started Image Push Report Image Push Report Completed Image Push Completed
%Bibliography%
double quote.
All
%report%
Map push report
%refFlag%
%refType%
%repo%
repurchase agreement it has.git
as a suffix, but otherwise z%repoNazwa%
.
Image Upload Started Image Push Report Image Push Report Completed Image Push Completed
%repoNazwa%
Repository name. LookEnable warehouse using chart type.
% motor rotation %
File revisions
file
%plan%
auth-init-2fa
%server address%
IP address and portSpiral Server, available only in the context of client-side scenarios specified byEntrance P4 SO
.
authorization check(client scenario only)
%central server%
host nameSpiral Server.
All
%servant%
valueSpiral Serverzserver id
.Lookserver p4
insideReference to P4 commandsLearn more.
All
%server IP%
Server IP address.
All
%server name%
valueSpiral ServerzP4NAME
.
All
%server port%
Transport, IP address and port forSpiral Server, the form isprefix:IP address:Port
.
prefixit can be one ofSSL
,TCP6
, LubSSL6
what does the command meanp4 -p %server port%
It can be used to connect to the server, regardless of the connection type the server is using.
All
%main server%
TenP4ROOT
InformerSpiral Server.
All
%server support%
A string specifying the role of the server. one of the following:
role model
facsimile
broker
means
report server
edge server
forward copy
create a server
Authorization P4
Changes P4
Exceptfile
%server version%
The server version string that terminates if the command terminates prematurely. Complaint due%TypTerm%
.
Exceptfile
%specdef%
Expands to the normal sequence of the appropriate form.
form
%send to server%
If it is not a distributed installation,%send to server%
always empty.
In a distributed installation, for any change trigger:
- If the commit was performed on the commit server,
%send to server%
equal%servant%
. - If uploading to an edge server,
%send to server%
not equal%servant%
.In this case,%send to server%
Record the edge server ID.
If copies are transferred between the commit server and the edge server then%send to server%
The ID of the server that actually contains the uploaded copy.
Lookserver p4
insideReference to P4 commands.
approval of change approval of change content approval of change
Does not applyType-
*descent.
%end%
value0
Indicates that the command has completed. value1
Indicates that the command has not completed.
%TypTerm%
Reason for early termination. It can be one of the following:
"p4 monitor terminated"
client disconnected
Maximum number of scan lines
maximum block time
maximum score
See also%server version%
.
Exceptfile
%mark%
auth-init-2fa
%activation directory%
tassel content
%triggerMeta_action%
The command to execute when the trigger fires. The last field defined by the trigger. Only set when the script is run from the repository.
Exceptfile
%triggerMeta_depotFile%
The third field in the trigger definition. Its meaning varies depending on the type of trigger. For change commit trigger rules, this is the path it is expected to match. For form tag rules, this can be the type of form to which the rule is supposed to apply. See the trigger type description for more information on what this field means.
Exceptfile
%triggerMeta_name%
Trigger Name: The first field in the trigger definition. Only set when the script is run from the repository.
Exceptfile
%triggerMeta_trigger%
Trigger Type: The second field in the trigger definition. Only set when the script is run from the repository.
Exceptfile
%user%
spiral serverThe name of the activating user.
All