-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins 2.289.2
With credential plugin binding fails ,if the credential password contains special character like "("
withCredentials(bindings: [this.steps.usernamePassword(credentialsId: 'testcred', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) { sh ''' python tesfile.py --username $USERNAME \ --password $PASSWORD \ -- project test''' }
ERROR:
/home/jenkins/agent/workspace/test@tmp/durable-3f95cefa/script.sh: line 1: syntax error: unexpected ")"