Configuration page is not showing resolution properly and the header is also sliding with the slider.

        1. jenkins-frestyle-config-error.txt
          253 kB
        2. screenshot_10.png
          screenshot_10.png
          170 kB
        3. Screenshot_2.png
          Screenshot_2.png
          64 kB
        4. Screenshot_3.png
          Screenshot_3.png
          124 kB
        5. Screenshot_5.png
          Screenshot_5.png
          156 kB
        6. Screenshot_6.png
          Screenshot_6.png
          150 kB
        7. Screenshot_7.png
          Screenshot_7.png
          145 kB
        8. Screenshot_8.png
          Screenshot_8.png
          153 kB
        9. Screenshot_9.png
          Screenshot_9.png
          152 kB

          [JENKINS-66884] Screen Resolution

          Agron Demiraj added a comment -

          Publish Over SSH is of latest version 1.20.1 and this is the issue !  I went ahead and disabled this Plugin and Configuration Page works as expected with 4 issues resolved.

          Now my question is, We use this plugin to deploy our built images to our servers over SSH, and we need it. What can we do ?

          Agron Demiraj added a comment - Publish Over SSH is of latest version 1.20.1 and this is the issue !  I went ahead and disabled this Plugin and Configuration Page works as expected with 4 issues resolved. Now my question is, We use this plugin to deploy our built images to our servers over SSH, and we need it. What can we do ?

          I imagine you can either adopt the Publish Over SSH plugin and fix the bugs there, or make your jobs run scp or sftp as a shell command instead. I don't really know how to pass SSH credentials to such a command in a freestyle job.

          Kalle Niemitalo added a comment - I imagine you can either adopt the Publish Over SSH plugin and fix the bugs there, or make your jobs run scp or sftp as a shell command instead. I don't really know how to pass SSH credentials to such a command in a freestyle job.

          I wonder what should be done with this Jira issue, then. Because your problems were not caused by android-emulator-plugin after all, it might be best to move this to the publish-over-ssh-plugin component and resolve as a duplicate of JENKINS-65263, then file a separate issue for the incorrect checkScreenResolution URI in android-emulator-plugin. The symptoms in this issue don't seem to quite match JENKINS-65263 though, because that mentions save doesn't do anything and apply just opens up an "error" window with no information but you wrote that Save and Apply buttons are not calling any function.

          Kalle Niemitalo added a comment - I wonder what should be done with this Jira issue, then. Because your problems were not caused by android-emulator-plugin after all, it might be best to move this to the publish-over-ssh-plugin component and resolve as a duplicate of JENKINS-65263 , then file a separate issue for the incorrect checkScreenResolution URI in android-emulator-plugin. The symptoms in this issue don't seem to quite match JENKINS-65263 though, because that mentions save doesn't do anything and apply just opens up an "error" window with no information but you wrote that Save and Apply buttons are not calling any function .

          Agron Demiraj added a comment -

          Obviously this ended up being a plugin issue. So not sure as well. Maybe move to JENKINS-65263 and open issue for Publish-Over-SSH instead as this is the Plugin causing the resolution issue on freestyle configuration pages. Please advise. 

          Agron Demiraj added a comment - Obviously this ended up being a plugin issue. So not sure as well. Maybe move to  JENKINS-65263  and open issue for Publish-Over-SSH instead as this is the Plugin causing the resolution issue on freestyle configuration pages. Please advise. 

          After you disabled the Publish Over SSH plugin, does the Web browser still make a failing HTTP request to /job/API-BACKEND-JOBS/view/01.dev/job/Dev-Ancillary.API/'descriptorByName/AndroidEmulator/checkScreenResolution? If that too was somehow caused by Publish Over SSH, then we won't need a Jira issue on android-emulator-plugin.

          Kalle Niemitalo added a comment - After you disabled the Publish Over SSH plugin, does the Web browser still make a failing HTTP request to /job/API-BACKEND-JOBS/view/01.dev/job/Dev-Ancillary.API/'descriptorByName/AndroidEmulator/checkScreenResolution ? If that too was somehow caused by Publish Over SSH, then we won't need a Jira issue on android-emulator-plugin.

          Agron Demiraj added a comment -

          Call to  /job/API-BACKEND-JOBS/view/01.dev/job/Dev-Ancillary.API/'descriptorByName/AndroidEmulator/checkScreenResolution? Is still happening, but with Status 200. Please see the screenshot added.

          Agron Demiraj added a comment - Call to   /job/API-BACKEND-JOBS/view/01.dev/job/Dev-Ancillary.API/'descriptorByName/AndroidEmulator/checkScreenResolution ?  Is still happening, but with Status 200. Please see the screenshot added.

          In the latest screenshot_10.png, the URL contains /descriptorByName/ without an apostrophe, not /'descriptorByName/.

          I think it means the Publish Over SSH plugin caused JavaScript errors when hudson-behavior.js was trying to evaluate the legacy checkUrl expression used by Android Emulator, and hudson-behavior.js then tried to recover by using the checkUrl string as is, but the apostrophe that was left in caused the checkScreenResolution request to fail.

          So the 404 status code is not really a bug in Android Emulator after all, although it would be good to modernise Android Emulator so it uses checkDependsOn and no longer causes the "legacy checkUrl" warning. I'll move this to the publish-over-ssh-plugin component and resolve as a duplicate of JENKINS-65263.

          Kalle Niemitalo added a comment - In the latest screenshot_10.png , the URL contains /descriptorByName/ without an apostrophe, not /'descriptorByName/ . I think it means the Publish Over SSH plugin caused JavaScript errors when hudson-behavior.js was trying to evaluate the legacy checkUrl expression used by Android Emulator, and hudson-behavior.js then tried to recover by using the checkUrl string as is, but the apostrophe that was left in caused the checkScreenResolution request to fail. So the 404 status code is not really a bug in Android Emulator after all, although it would be good to modernise Android Emulator so it uses checkDependsOn and no longer causes the "legacy checkUrl" warning. I'll move this to the publish-over-ssh-plugin component and resolve as a duplicate of JENKINS-65263 .

          Agron Demiraj added a comment -

          Okay Kalle. Thank you for your assistance so far. I agree the Apostrophe in that path might be root cause of this issue.

          Agron Demiraj added a comment - Okay Kalle. Thank you for your assistance so far. I agree the Apostrophe in that path might be root cause of this issue.

          Agron Demiraj added a comment - - edited

          Anyone having the same issue, You can resolve by downloading new release here https://plugins.jenkins.io/publish-over-ssh/#releases and upload manually from Advanced Page on Plugins management section. It is strange why this was not released as an update within Jenkins but anyhow this fixed my issue finally.

          Agron Demiraj added a comment - - edited Anyone having the same issue, You can resolve by downloading new release here https://plugins.jenkins.io/publish-over-ssh/#releases  and upload manually from Advanced Page on Plugins management section. It is strange why this was not released as an update within Jenkins but anyhow this fixed my issue finally.

          For your information, all publish-over-ssh component type JENKINS issues related to the Publish Over SSH plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues

          Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues/69
          And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-ssh-plugin/issues?q=%22JENKINS-66884%22

          (Note: this is an automated bulk comment)

          Gavin McDonald added a comment - For your information, all publish-over-ssh component type JENKINS issues related to the Publish Over SSH plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues/69 And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-ssh-plugin/issues?q=%22JENKINS-66884%22 (Note: this is an automated bulk comment)

            Unassigned Unassigned
            agron Agron Demiraj
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: