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

"Publish over FTP" plugin with version 1.9 does'nt work after Jenkins upgrade to Version 1.504

      I upgraded my Jenkins to Version 1.504, afer that "Publish over FTP" plugin with version 1.9 does'nt work. Suspecting Is it the issue after Jenkins upgrade or else issue is with the plugin.

      Please kindly investigate on "publish over ftp" plug-in with version 1.9.

      Thanks..

          [JENKINS-17165] "Publish over FTP" plugin with version 1.9 does'nt work after Jenkins upgrade to Version 1.504

          Ramakrishna Bejawar created issue -
          bap made changes -
          Assignee New: bap [ bap ]
          bap made changes -
          Link New: This issue duplicates JENKINS-17112 [ JENKINS-17112 ]
          bap made changes -
          Link New: This issue duplicates JENKINS-17058 [ JENKINS-17058 ]

          bap added a comment -

          It looks like the xstream upgrade in 1.504 has caused the issue. Until the compatability is resolved, you must use an earlier version of Jenkins

          bap added a comment - It looks like the xstream upgrade in 1.504 has caused the issue. Until the compatability is resolved, you must use an earlier version of Jenkins
          bap made changes -
          Link New: This issue is related to JENKINS-12542 [ JENKINS-12542 ]

          I updated from Jenkins 1.497 to Jenkins 1.510. Now the only not working plugin is the "Publish over FTP"-plugin. The configuration is lost after restart of Jenkins.
          How can we speedup the Bugfixing? Do you need some more support?

          Alexander Fischer added a comment - I updated from Jenkins 1.497 to Jenkins 1.510. Now the only not working plugin is the "Publish over FTP"-plugin. The configuration is lost after restart of Jenkins. How can we speedup the Bugfixing? Do you need some more support?
          Alexander Fischer made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Alexander Fischer added a comment - - edited

          I have resolved the problem for Publish-Over-FTP (I'm sure, the solution for Publish-Over-SSH is the same).
          You have to override the method readResolve() in all inherited classes, for Publish-Over-FTP this are:

          • BapFtpHostConfiguration
          • BapFtpPublisherPlugin$Descriptor

          The reason is, that the reflection-mechanism looks for the method readResolve() in the inherited class (see above) and after this in the base-class. The reflection-invoke of the method fails, if the method is declared in the base-class and call over the derived class.
          Can I check in the patched classes on GitHub?

          Alexander Fischer added a comment - - edited I have resolved the problem for Publish-Over-FTP (I'm sure, the solution for Publish-Over-SSH is the same). You have to override the method readResolve() in all inherited classes, for Publish-Over-FTP this are: BapFtpHostConfiguration BapFtpPublisherPlugin$Descriptor The reason is, that the reflection-mechanism looks for the method readResolve() in the inherited class (see above) and after this in the base-class. The reflection-invoke of the method fails, if the method is declared in the base-class and call over the derived class. Can I check in the patched classes on GitHub?

          I have added a complete patched version of the plugins "publish-over" (base) and "publish-over-ftp" on GitHub:

          Can you test it?

          Alexander Fischer added a comment - I have added a complete patched version of the plugins "publish-over" (base) and "publish-over-ftp" on GitHub: https://github.com/afischer211/publish-over-plugin https://github.com/afischer211/publish-over-ftp-plugin Can you test it?

            bap bap
            rkbejawar Ramakrishna Bejawar
            Votes:
            3 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: