[artifactory-replication] Add common function to generate command line from env vars

PRODX-26142

Change-Id: I661ca57eb80a7e78554381c71e6da75128e1bc9e
1 file changed