Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upUpdate Windows Agent Installer to 1.7 and WinSW to 2.0.2 #2765
Conversation
| @@ -23,15 +23,22 @@ THE SOFTWARE. | |||
| --> | |||
|
|
|||
| <!-- | |||
| Windows service definition for Jenkins slave | |||
| Windows service definition for Jenkins agent. | |||
| The actual version of this definition has been moved to https://github.com/jenkinsci/windows-slave-installer-module/blob/master/src/main/resources/org/jenkinsci/modules/windows_slave_installer/jenkins-slave.xml. | |||
This comment has been minimized.
This comment has been minimized.
oleg-nenashev
Feb 27, 2017
Author
Member
I do not see any usages, but this file can be downloaded as a resource.
So I'd prefer to keep it up to date
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
oleg-nenashev
Feb 28, 2017
Author
Member
OK, I have found no legitimate way to use this file excepting the access to the master's classloader from plugins (why would they do it). No occurrence in OSS repos as well.
Will remove the file
Now it is within windows-slave-installer
| @@ -114,7 +114,7 @@ THE SOFTWARE. | |||
| <dependency> | |||
| <groupId>org.jenkins-ci.modules</groupId> | |||
| <artifactId>windows-slave-installer</artifactId> | |||
| <version>1.6</version> | |||
| <version>1.7-SNAPSHOT</version> | |||
This comment has been minimized.
This comment has been minimized.
|
Created PR with some upgrade docs: jenkinsci/windows-slave-installer-module#9 |
|
@jenkinsci/code-reviewers since I was unable to get feedback from @reviewbybees in time :( |
reviewbybees
commented
Mar 5, 2017
|
This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation. |
|
@reviewbybees ping. 1-week review timeout is today |
|
I presume you have done manual testing on various platforms. Given the magnitude of the changes, meaningful code review seems hopeless. |
| @@ -755,7 +755,7 @@ THE SOFTWARE. | |||
| <artifactItem> | |||
| <groupId>com.sun.winsw</groupId> | |||
| <artifactId>winsw</artifactId> | |||
| <version>1.16</version> | |||
| <version>2.0.2</version> | |||
This comment has been minimized.
This comment has been minimized.
| @@ -114,7 +114,7 @@ THE SOFTWARE. | |||
| <dependency> | |||
| <groupId>org.jenkins-ci.modules</groupId> | |||
| <artifactId>windows-slave-installer</artifactId> | |||
| <version>1.6</version> | |||
| <version>1.7</version> | |||
This comment has been minimized.
This comment has been minimized.
is likely CI flakiness. |
Yes, tested changes on 3 platforms (Win 10, Win Server 2012, Win 7). @reviewbybees done |
|
Got +1 from @daniel-beck in IRC |
* NEW: jenkinsci/jenkins#2765 * NEW: jenkinsci/jenkins#2778 * NEW: jenkinsci/jenkins#2780 * NEW: jenkinsci/jenkins#2683 * NEW: jenkinsci/jenkins#2773 * UPD: jenkinsci/jenkins#2772
Windows Slaves plugin performs a direct access to the resources bundled into the core. Hence the file removal was a bad idea though I have not seen the issue in automatic tests and ATH. This change also was a last-minute change in jenkinsci#2765 in order to address suggestions from @daniel-beck, hence I didn't test it properly
… restore compatibility with windows-slaves 1.2 (#2803) * [JENKINS-42724] - Restore the jenkins-slave.xml file Windows Slaves plugin performs a direct access to the resources bundled into the core. Hence the file removal was a bad idea though I have not seen the issue in automatic tests and ATH. This change also was a last-minute change in #2765 in order to address suggestions from @daniel-beck, hence I didn't test it properly * [JENKINS-42724] - Update the Windows Agents plugin dependency to 1.3.1 * [JENKINS-42724] -Revert the war/pom.xml upgrade
oleg-nenashev commentedFeb 27, 2017
This change integrates major WinSW fixes into Jenkins. The change is WiP, jenkinsci/windows-slave-installer-module#6 to be integrated at least
WinSW changes
The update includes many fixes and improvements, the full list is provided in the WinSW changelog. There are several issues referenced in Jenkins bugtracker:
Windows Agent Installer changes
Jenkins core changes
@reviewbybees