Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66365

Credential plugin binding fails ,if the credential password contains special character like "("

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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 ")"

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            touseef TYD
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: