Obtains or sets the value of a counter.
When used in its base form
(where only the counter name is provided), the counter value will be
printed to the output stream. When the value is provided, the counter
will be set to the value provided. When a property name is provided,
the property will be filled with the value of the counter. You may
not specify to both get and set the value of the counter in the same
Task.
The user performing this task must have Perforce "review" permissions
as defined by Perforce protections in order for this task to succeed.
Example Usage:
<p4counter name="${p4.counter}" property=${p4.change}"/> |