-
New Feature
-
Resolution: Fixed
-
Major
-
None
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
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