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

Allow disabling automatic downgrade of WinSW executables

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      In some cases WinSW users may want to update WinSW to a higher version, but now it is complicated, because Windiws Agent Installer may downgrade the agent using its "automatic upgrade procedure" (just by checksum).

      Proposal:

      • Add a system property, which disables automatic upgrade
      • Add version check. WinSW follows the semver approach, hence it should be possible to check if the version is newer && compatible, hence it is possible to determine when the upgrade is safe and when it is required

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          src/main/java/org/jenkinsci/modules/windows_slave_installer/SlaveExeUpdater.java
          http://jenkins-ci.org/commit/windows-slave-installer-module/c9e9187c538cb52c076f00f47256567256116703
          Log:
          JENKINS-43603 - Add System Property, which allows disableng automatic WinSW upgrade/downgrade

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/org/jenkinsci/modules/windows_slave_installer/SlaveExeUpdater.java http://jenkins-ci.org/commit/windows-slave-installer-module/c9e9187c538cb52c076f00f47256567256116703 Log: JENKINS-43603 - Add System Property, which allows disableng automatic WinSW upgrade/downgrade
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          README.md
          http://jenkins-ci.org/commit/windows-slave-installer-module/2fac9abdad7a8cdc4e91b0f15d9d09b3dcb5ee1a
          Log:
          JENKINS-43603 - Add documentation

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: README.md http://jenkins-ci.org/commit/windows-slave-installer-module/2fac9abdad7a8cdc4e91b0f15d9d09b3dcb5ee1a Log: JENKINS-43603 - Add documentation
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          README.md
          src/main/java/org/jenkinsci/modules/windows_slave_installer/SlaveExeUpdater.java
          http://jenkins-ci.org/commit/windows-slave-installer-module/307c03b07ae0f2ea9e1b3cc7e79febb4110e203b
          Log:
          Merge pull request #15 from oleg-nenashev/feature/JENKINS-43603-3

          JENKINS-43603 - Add System Property, which allows disabling WinSW auto upgrade

          Compare: https://github.com/jenkinsci/windows-slave-installer-module/compare/a3b83c82f27e...307c03b07ae0

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: README.md src/main/java/org/jenkinsci/modules/windows_slave_installer/SlaveExeUpdater.java http://jenkins-ci.org/commit/windows-slave-installer-module/307c03b07ae0f2ea9e1b3cc7e79febb4110e203b Log: Merge pull request #15 from oleg-nenashev/feature/ JENKINS-43603 -3 JENKINS-43603 - Add System Property, which allows disabling WinSW auto upgrade Compare: https://github.com/jenkinsci/windows-slave-installer-module/compare/a3b83c82f27e...307c03b07ae0
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          The fix has been merged towards 2.60

          Show
          oleg_nenashev Oleg Nenashev added a comment - The fix has been merged towards 2.60

            People

            • Assignee:
              oleg_nenashev Oleg Nenashev
              Reporter:
              oleg_nenashev Oleg Nenashev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: