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

config history diff does not work for jobs in folders

      When I try to use the UI to compare two job configuration histories an error is thrown which indicates a path to a job which truly does not exist.

      39636 java.lang.IllegalArgumentException: Unable to get history from: E:\Jenkins\config-history\jobs/SND-Admin-WSA/2013-10-23_15-47-43
      39637 at hudson.plugins.jobConfigHistory.JobConfigHistoryProjectAction.getOldConfigXml(JobConfigHistoryProjectAction.java:198)
      39638 at hudson.plugins.jobConfigHistory.JobConfigHistoryProjectAction.getLines(JobConfigHistoryProjectAction.java:162)
      39639 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      39640 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      39641 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      39642 at java.lang.reflect.Method.invoke(Unknown Source)
      39643 at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)

      The path should be
      E:/Jenkins/config-history/jobs/WIA_Deploy/jobs/SND-Admin-WSA/2013-10-23_15-47-43

            mfriedenhagen Mirko Friedenhagen
            walterk82 Walter Kacynski
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: