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

Credenitals :pop-dialog uses hardcoded http instead of https

XMLWordPrintable

      While trying to add credentials e.g. from a git step in the snippet generator, the generated form points to a http url, even if the source was https and jenkins is configured with a https base url.

       

      <form method="POST" action="http://<host>/jenkins/descriptor/com.cloudbees.plugins.credentials.CredentialsSelectHelper/resolver/com.cloudbees.plugins.credentials.CredentialsSelectHelper$SystemContextResolver/provider/com.cloudbees.plugins.credentials.SystemCredentialsProvider$ProviderImpl/context/jenkins/addCredentials" id="credentials-dialog-form"><table width="100%"><tbody><tr><td class="setting-leftspace">&nbsp;</td><td class="setting-name">Domain</td><td class="setting-main"><select class="setting-input" name="_.domain"><option value="Docker">Docker</option><option value="_" selected="true">Global credentials (unrestricted)
      

      On trying to submit, a warning about the unsecure channel is emitted and the creation fails as jenkins is not available via http

            stephenconnolly Stephen Connolly
            pedersen Björn Pedersen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: