try some echo statements?
tried that, it doesnt pass the value
echo ??TARGET.NAME?? > /tmp/output
output is empty. Guess theres no way to do this.
Looks like those properties are only available to the "Deployment Path" field. The Pre/Post don't have access to that data
Info 03/29/2016 15:08:44 PRECOMMAND: Deploying to ??TARGET.NAME?? Info 03/29/2016 15:09:06 POSTCOMMAND: Deployed to ??TARGET.NAME??