How to use $ characters within token values to prevent failures?

book

Article ID: 32170

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)

Issue/Introduction

Summary:

The following error is seen in the nolio_dm_all.log when using the '$' character within token value.

2015-09-16 14:22:44,412 [StageExecutorTask-375] ERROR (com.nolio.releasecenter.services.release.execution.engine.ArtifactPackageDistributionServiceImpl:484) - Failed to distribute artifact [artifact_store/releaseId_604/artifact-type/artifact-definition/version/artifact.txt]to NES [es_EXECUTIONSERVER]. Failed to replace tokens. [Illegal group reference]

 

Solution: 

If you get an error in the nolio_dm_all.log file similar to the above error, during your release's artifact distribution, a possible issue that could cause this would be the use of a $ character within a token value. If you plan to use a $ character within a token value, it will need to be escaped with a \ character.

Ex: If your token value needs to be 'pas$123', then you will need to set the token value as 'pas\$123'

Environment

Release: NOLNAC99000-5.5-Nolio-Automation Center
Component: