• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • job-import-plugin
    • None

      Currently folders show up under "Remote Jenkins Job Selection", but importing a folder (with jobs in it) results in an empty folder being imported.

          [JENKINS-35983] Add support to job import jobs in folders

          Owen Wood created issue -

          Owen Wood added a comment -

          The other option, I guess, is to filter out folders from the query so there is no confusion here.

          Owen Wood added a comment - The other option, I guess, is to filter out folders from the query so there is no confusion here.
          Owen Wood made changes -
          Assignee New: Owen Wood [ owood ]
          Owen Wood made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Owen Wood added a comment -

          Owen Wood added a comment - https://github.com/jenkinsci/job-import-plugin/pull/12
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 172618 ] New: JNJira + In-Review [ 185793 ]

          Code changed in jenkins
          User: Owen Wood
          Path:
          pom.xml
          src/main/java/org/jenkins/ci/plugins/jobimport/CredentialsUtils.java
          src/main/java/org/jenkins/ci/plugins/jobimport/JobImportAction.java
          src/main/java/org/jenkins/ci/plugins/jobimport/RemoteJob.java
          src/main/java/org/jenkins/ci/plugins/jobimport/RemoteJobUtils.java
          src/test/java/org/jenkins/ci/plugins/jobimport/JobImportActionTest.java
          src/test/java/org/jenkins/ci/plugins/jobimport/JobImportClient.java
          src/test/java/org/jenkins/ci/plugins/jobimport/RemoteJenkins.java
          src/test/resources/README.md
          src/test/resources/folder/config.xml
          src/test/resources/folder/jobs/aFolder/config.xml
          src/test/resources/folder/jobs/aFolder/jobs/bFreestyleJobInFolder/config.xml
          src/test/resources/folder/jobs/aFolder/jobs/bMavenJobInFolder/config.xml
          src/test/resources/folder/jobs/aFolder/xml-api-response.xml
          src/test/resources/folder/jobs/aFreestyleJobInFolder/config.xml
          src/test/resources/folder/jobs/aMavenJobInFolder/config.xml
          src/test/resources/folder/xml-api-response.xml
          src/test/resources/job/config.xml
          src/test/resources/xml-api-response.xml
          http://jenkins-ci.org/commit/job-import-plugin/d33a547d37ec8adbfd5d8023c2248a64cff52614
          Log:
          JENKINS-35983 - Add support to job import jobs in folders

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Owen Wood Path: pom.xml src/main/java/org/jenkins/ci/plugins/jobimport/CredentialsUtils.java src/main/java/org/jenkins/ci/plugins/jobimport/JobImportAction.java src/main/java/org/jenkins/ci/plugins/jobimport/RemoteJob.java src/main/java/org/jenkins/ci/plugins/jobimport/RemoteJobUtils.java src/test/java/org/jenkins/ci/plugins/jobimport/JobImportActionTest.java src/test/java/org/jenkins/ci/plugins/jobimport/JobImportClient.java src/test/java/org/jenkins/ci/plugins/jobimport/RemoteJenkins.java src/test/resources/README.md src/test/resources/folder/config.xml src/test/resources/folder/jobs/aFolder/config.xml src/test/resources/folder/jobs/aFolder/jobs/bFreestyleJobInFolder/config.xml src/test/resources/folder/jobs/aFolder/jobs/bMavenJobInFolder/config.xml src/test/resources/folder/jobs/aFolder/xml-api-response.xml src/test/resources/folder/jobs/aFreestyleJobInFolder/config.xml src/test/resources/folder/jobs/aMavenJobInFolder/config.xml src/test/resources/folder/xml-api-response.xml src/test/resources/job/config.xml src/test/resources/xml-api-response.xml http://jenkins-ci.org/commit/job-import-plugin/d33a547d37ec8adbfd5d8023c2248a64cff52614 Log: JENKINS-35983 - Add support to job import jobs in folders

          Code changed in jenkins
          User: Emilio Escobar
          Path:
          pom.xml
          src/main/java/org/jenkins/ci/plugins/jobimport/CredentialsUtils.java
          src/main/java/org/jenkins/ci/plugins/jobimport/JobImportAction.java
          src/main/java/org/jenkins/ci/plugins/jobimport/RemoteJob.java
          src/main/java/org/jenkins/ci/plugins/jobimport/RemoteJobUtils.java
          src/test/java/org/jenkins/ci/plugins/jobimport/JobImportActionTest.java
          src/test/java/org/jenkins/ci/plugins/jobimport/JobImportClient.java
          src/test/java/org/jenkins/ci/plugins/jobimport/RemoteJenkins.java
          src/test/resources/README.md
          src/test/resources/folder/config.xml
          src/test/resources/folder/jobs/aFolder/config.xml
          src/test/resources/folder/jobs/aFolder/jobs/bFreestyleJobInFolder/config.xml
          src/test/resources/folder/jobs/aFolder/jobs/bMavenJobInFolder/config.xml
          src/test/resources/folder/jobs/aFolder/xml-api-response.xml
          src/test/resources/folder/jobs/aFreestyleJobInFolder/config.xml
          src/test/resources/folder/jobs/aMavenJobInFolder/config.xml
          src/test/resources/folder/xml-api-response.xml
          src/test/resources/job/config.xml
          src/test/resources/xml-api-response.xml
          http://jenkins-ci.org/commit/job-import-plugin/594157a0404b25a87ace3f50c400559fa354e0c0
          Log:
          JENKINS-35983 merged changes from Evildethow PR

          Compare: https://github.com/jenkinsci/job-import-plugin/compare/d33a547d37ec^...594157a0404b

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Emilio Escobar Path: pom.xml src/main/java/org/jenkins/ci/plugins/jobimport/CredentialsUtils.java src/main/java/org/jenkins/ci/plugins/jobimport/JobImportAction.java src/main/java/org/jenkins/ci/plugins/jobimport/RemoteJob.java src/main/java/org/jenkins/ci/plugins/jobimport/RemoteJobUtils.java src/test/java/org/jenkins/ci/plugins/jobimport/JobImportActionTest.java src/test/java/org/jenkins/ci/plugins/jobimport/JobImportClient.java src/test/java/org/jenkins/ci/plugins/jobimport/RemoteJenkins.java src/test/resources/README.md src/test/resources/folder/config.xml src/test/resources/folder/jobs/aFolder/config.xml src/test/resources/folder/jobs/aFolder/jobs/bFreestyleJobInFolder/config.xml src/test/resources/folder/jobs/aFolder/jobs/bMavenJobInFolder/config.xml src/test/resources/folder/jobs/aFolder/xml-api-response.xml src/test/resources/folder/jobs/aFreestyleJobInFolder/config.xml src/test/resources/folder/jobs/aMavenJobInFolder/config.xml src/test/resources/folder/xml-api-response.xml src/test/resources/job/config.xml src/test/resources/xml-api-response.xml http://jenkins-ci.org/commit/job-import-plugin/594157a0404b25a87ace3f50c400559fa354e0c0 Log: JENKINS-35983 merged changes from Evildethow PR Compare: https://github.com/jenkinsci/job-import-plugin/compare/d33a547d37ec ^...594157a0404b

          PR merged

          Emilio Escobar added a comment - PR merged
          Emilio Escobar made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

            owood Owen Wood
            owood Owen Wood
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: