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

tries and fails to resolve subdomain after entering fqdn as part of import

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I tried to import a job, and the plugin correctly retrieves the list of jobs available in the view. When attempting to import one of the jobs it fails. The catalina.out indicates that it didn't use the fully qualified domain name and instead only used the server name, which fails because the destination server is on a different subdomain. The UI shows "Failed" and the link to the unimported job fails w/ a 404. I do not know why it is not using the full URL to do the import.

      I am running Tomcat 8.0.18, Java 1.8.0_141, Jenkins 2.89, job-import-plugin 2.1

      I am using the "Remote Jenkins URL" format:
       
       http://serverA.my.sub.domain:8080/jenkins/view/TEST/
       

      13-Nov-2017 15:27:32.749 WARNING [Handling POST /jenkins/job-import/import from 1.2.3.4.5 : http-apr-8010-exec-3] org.jenkins.ci.plugins.jobimport.JobImportAction.doImportInternal Job Import Failed: sourceServer
      13-Nov-2017 15:27:32.749 INFO [Handling POST /jenkins/job-import/import from 1.2.3.4.5 : http-apr-8010-exec-3] org.jenkins.ci.plugins.jobimport.JobImportAction.doImportInternal sourceServer
       java.net.UnknownHostException: sourceServer

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rbrueske Ryan _
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: