How to add GIT variables as properties to artifacts which are deployed by the Jenkins Artifactory plugin

It is possible to tag deployed artifacts with GIT variables by adding the variables into the Jenkins job configurations » 'Deployment properties' field as 'key=value' pairs.

Artifactory will attach these properties to each one of the deployed artifacts.

The GIT available variables can be found here.

See the attached screenshot for example:

The 'Deployment properties' field (Jenkins job configuration):

The deployed artifacts and their properties: