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

Add support to job import jobs in folders

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

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

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link 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/e6e6a535de1debbbc8483271c3aaa705988f5a81
            Log:
            Merge pull request #16 from jenkinsci/Evildethow-feature/JENKINS-35983

            feature/ JENKINS-35983 merged changes from PR12

            Compare: https://github.com/jenkinsci/job-import-plugin/compare/d1ed035c7300...e6e6a535de1d

            Show
            scm_issue_link 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/e6e6a535de1debbbc8483271c3aaa705988f5a81 Log: Merge pull request #16 from jenkinsci/Evildethow-feature/ JENKINS-35983 feature/ JENKINS-35983 merged changes from PR12 Compare: https://github.com/jenkinsci/job-import-plugin/compare/d1ed035c7300...e6e6a535de1d
            Hide
            escoem Emilio Escobar added a comment -

            PR merged

            Show
            escoem Emilio Escobar added a comment - PR merged
            Hide
            scm_issue_link 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

            Show
            scm_issue_link 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
            Hide
            scm_issue_link 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

            Show
            scm_issue_link 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
            Show
            owood Owen Wood added a comment - https://github.com/jenkinsci/job-import-plugin/pull/12
            Hide
            owood Owen Wood added a comment -

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

            Show
            owood Owen Wood added a comment - The other option, I guess, is to filter out folders from the query so there is no confusion here.

              People

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

                Dates

                Created:
                Updated:
                Resolved: