-
Improvement
-
Resolution: Fixed
-
Minor
For situation when jobs have the same names but placed in different folders, cc.xml return the same "name" filed for all job, so this is lead to confusion.
For example:
Jobs:
http://jenkins/job/Folder1/job/Build/ http://jenkins/job/Folder1/job/Tests/ http://jenkins/job/Folder2/job/Build/ http://jenkins/job/Folder3/job/Tests/
CCtray:
<Project webUrl="http://jenkins/job/Folder1/job/Build/" name="Build" lastBuildLabel="63" lastBuildTime="2016-05-06T09:59:59Z" lastBuildStatus="Success" activity="Sleeping"/> <Project webUrl="http://jenkins/job/Folder1/job/Tests/" name="Tests" lastBuildLabel="25" lastBuildTime="2016-05-04T14:58:39Z" lastBuildStatus="Failure" activity="Sleeping"/> <Project webUrl="http://jenkins/job/Folder2/job/Build/" name="Build" lastBuildLabel="63" lastBuildTime="2016-05-06T09:59:59Z" lastBuildStatus="Success" activity="Sleeping"/> <Project webUrl="http://jenkins/job/Folder2/job/Tests/" name="Tests" lastBuildLabel="25" lastBuildTime="2016-05-04T14:58:39Z" lastBuildStatus="Failure" activity="Sleeping"/>
So after import we will receive following jobs:
Build Tests Build Tests
Expected results:
CCtray:
<Project webUrl="http://jenkins/job/Folder1/job/Build/" name="Folder1/Build" lastBuildLabel="63" lastBuildTime="2016-05-06T09:59:59Z" lastBuildStatus="Success" activity="Sleeping"/> <Project webUrl="http://jenkins/job/Folder1/job/Tests/" name="Folder1/Tests" lastBuildLabel="25" lastBuildTime="2016-05-04T14:58:39Z" lastBuildStatus="Failure" activity="Sleeping"/> <Project webUrl="http://jenkins/job/Folder2/job/Build/" name="Folder2/Build" lastBuildLabel="63" lastBuildTime="2016-05-06T09:59:59Z" lastBuildStatus="Success" activity="Sleeping"/> <Project webUrl="http://jenkins/job/Folder2/job/Tests/" name="Folder2Tests" lastBuildLabel="25" lastBuildTime="2016-05-04T14:58:39Z" lastBuildStatus="Failure" activity="Sleeping"/>
List of jobs after import:
Folder1/Build Folder1/Tests Folder2/Build Folder2/Tests
- is related to
-
JENKINS-35167 Add ability to export XMLs with recursive job/folder configs
- Closed
-
JENKINS-36282 "Export as plain XML" option doesn´t export jobs inside folders
- Resolved