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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • job-import-plugin
    • None

      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

            Unassigned Unassigned
            rbrueske Ryan _
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: