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

getAffectedFiles() is not implemented on RTC plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • rtc-plugin
    • None

      When we are trying to get the Changeset information from groovy we are getting this exception:

      java.lang.UnsupportedOperationException: getAffectedFiles() is not implemented by RTC
      at hudson.scm.ChangeLogSet$Entry.getAffectedFiles(ChangeLogSet.java:242)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)

       

      We will need that the plugin implements this method in order to obtain the files of a ChangeSet.

       

            deluan Deluan Quintão
            jraezrus Javier Raez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: