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

"Export as plain XML" option doesn´t export jobs inside folders

      If you have the jobs organized in folders (without any job in the first level) when you try to Export as plain XML in the Build History section, then you will get an empty XML.

      Steps to reproduce the issue:

      1. Create the folder A
      2. Create a simple freestyle job "test" inside the folder A and build it several times.
      3. Access to Build History in the left menu and you will see all the builds executed previously
      4. Click Export as plain XML and you will receive an empty XML.

          [JENKINS-36282] "Export as plain XML" option doesn´t export jobs inside folders

          Oleg Nenashev added a comment -

          CC danielbeck. I suppose it is going to be a bug in cctray-plugin now

          Oleg Nenashev added a comment - CC danielbeck . I suppose it is going to be a bug in cctray-plugin now

          Daniel Beck added a comment -

          oleg_nenashev If you're trying to make me aware of this: I know. I labeled it.

          Daniel Beck added a comment - oleg_nenashev If you're trying to make me aware of this: I know. I labeled it.

          Code changed in jenkins
          User: Devin Nusbaum
          Path:
          core/src/main/java/hudson/Functions.java
          core/src/main/resources/hudson/model/View/cc.xml.jelly
          http://jenkins-ci.org/commit/jenkins/562a7fc2d3c7eb3828bfbff4412db7fe48304113
          Log:
          JENKINS-36282 Add support to cc.xml for exporting jobs in folders recursively (#3060)

          • Add support for exporting jobs in folders recursively
          • Convert cc.xml into a Groovy view
          • Revert "Convert cc.xml into a Groovy view"

          This reverts commit 990ec3ebfb0838ec3b1b421dfe5d6518cbd79784.

          • Move logic in jelly view to static method

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Devin Nusbaum Path: core/src/main/java/hudson/Functions.java core/src/main/resources/hudson/model/View/cc.xml.jelly http://jenkins-ci.org/commit/jenkins/562a7fc2d3c7eb3828bfbff4412db7fe48304113 Log: JENKINS-36282 Add support to cc.xml for exporting jobs in folders recursively (#3060) Add support for exporting jobs in folders recursively Convert cc.xml into a Groovy view Revert "Convert cc.xml into a Groovy view" This reverts commit 990ec3ebfb0838ec3b1b421dfe5d6518cbd79784. Move logic in jelly view to static method

          Code changed in jenkins
          User: Devin Nusbaum
          Path:
          core/src/main/resources/hudson/model/View/builds.jelly
          http://jenkins-ci.org/commit/jenkins/6181c8389968da60c831ddcfbcde7154ec744fce
          Log:
          JENKINS-36282 Add link to cc.xml?recursive from build history page

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Devin Nusbaum Path: core/src/main/resources/hudson/model/View/builds.jelly http://jenkins-ci.org/commit/jenkins/6181c8389968da60c831ddcfbcde7154ec744fce Log: JENKINS-36282 Add link to cc.xml?recursive from build history page

          Code changed in jenkins
          User: Devin Nusbaum
          Path:
          core/src/main/resources/hudson/model/View/builds.jelly
          http://jenkins-ci.org/commit/jenkins/fb5234ff13fff37b935063d81f99a9082da8e24e
          Log:
          JENKINS-36282 Make link text for cc.xml?recursive consistent with View recurse option

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Devin Nusbaum Path: core/src/main/resources/hudson/model/View/builds.jelly http://jenkins-ci.org/commit/jenkins/fb5234ff13fff37b935063d81f99a9082da8e24e Log: JENKINS-36282 Make link text for cc.xml?recursive consistent with View recurse option

          Code changed in jenkins
          User: Daniel Beck
          Path:
          core/src/main/resources/hudson/model/View/builds.jelly
          http://jenkins-ci.org/commit/jenkins/3c7c582ec3957a988ab394633cf7bf369a9f79b5
          Log:
          Merge pull request #3081 from dwnusbaum/JENKINS-36282

          JENKINS-36282 Add link to cc.xml?recursive from build history page

          Compare: https://github.com/jenkinsci/jenkins/compare/d292929502f8...3c7c582ec395

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: core/src/main/resources/hudson/model/View/builds.jelly http://jenkins-ci.org/commit/jenkins/3c7c582ec3957a988ab394633cf7bf369a9f79b5 Log: Merge pull request #3081 from dwnusbaum/ JENKINS-36282 JENKINS-36282 Add link to cc.xml?recursive from build history page Compare: https://github.com/jenkinsci/jenkins/compare/d292929502f8...3c7c582ec395

          Daniel Beck added a comment -

          Resolved in 2.85, link added in 2.86.

          Daniel Beck added a comment - Resolved in 2.85, link added in 2.86.

            dnusbaum Devin Nusbaum
            dariver Darío Villadiego
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: