Escape $ to fix Jenkins interpolation warning (#5178)
Escaping $ in "" string makes the variable expanded by shell, and not Jenkins itself
Explained in example in official docs
https://www.jenkins.io/doc/book/pipeline/jenkinsfile/#for-other-credential-types