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

Allow disabling automatic downgrade of WinSW executables

      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

          [JENKINS-43603] Allow disabling automatic downgrade of WinSW executables

          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

          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

          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

          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

          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

          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

          Oleg Nenashev added a comment -

          The fix has been merged towards 2.60

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

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

              Created:
              Updated:
              Resolved: