usernamePassword binding not setting variables correctly on Windows container

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      When using the following in a declarative pipeline:

       
      withCredentials([usernamePassword(credentialsId: 'nuget', usernameVariable: 'NUGET_USERNAME', passwordVariable: 'NUGET_PASSWORD')])

      {   set }   The NUGET_USERNAME is not being set at all, but the NUGET_PASSWORD is incorrectly having the set NUGET_USERNAME command appended, as follows:   {code:java}

      NUGET_PASSWORD=****set NUGET_USERNAME=nuget

      
      

       

      This looks like it is missing a new line between the two operations.

            Assignee:
            Unassigned
            Reporter:
            Ben
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: