Server Credentials remove the configuration element

XMLWordPrintable

      This is rather annoying as you need custom configuration to talk to Jenkins (because of preemptive authentication).

      I have server configuration like this:

            <server>
               <id>jenkins</id>
               <configuration>
                  <wagonProvider>httpclient</wagonProvider>
                  <httpConfiguration>
                     <all>
                        <usePreemptive>true</usePreemptive>
                     </all>
                  </httpConfiguration>
               </configuration>
            </server>

      but after injecting the credentials the configuration element is gone (checked with help:effectiv-settings)

             <server>
               <id>jenkins</id>
               <username>jenkins</username>
               <password>****</password>
            </server>
      

      Workaround is to use the "Mask passwords plugin" and inject the password as an env. variable

            Assignee:
            Dominik Bartholdi
            Reporter:
            Jakub Bochenski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: