Branch: refs/heads/master
Home: https://github.com/jenkinsci/platformlabeler-plugin
Commit: 6c35df3481bf5276b51e51d813a88b50ed3711ca
https://github.com/jenkinsci/platformlabeler-plugin/commit/6c35df3481bf5276b51e51d813a88b50ed3711ca
Author: Mark Waite <[email protected]>
Date: 2018-04-22 (Sun, 22 Apr 2018)
Changed paths:
M pom.xml
M src/main/java/org/jvnet/hudson/plugins/platformlabeler/NodeLabelCache.java
M
src/main/java/org/jvnet/hudson/plugins/platformlabeler/PlatformDetailsTask.java
M
src/main/java/org/jvnet/hudson/plugins/platformlabeler/PlatformLabeler.java
M
src/test/java/org/jvnet/hudson/plugins/platformlabeler/PlatformLabelerTest.java
Log Message:
-----------
Format src files consistently
Commit: 798c90fc19d99eac532b22b2205a4814fd0abf0a
https://github.com/jenkinsci/platformlabeler-plugin/commit/798c90fc19d99eac532b22b2205a4814fd0abf0a
Author: Mark Waite <[email protected]>
Date: 2018-04-22 (Sun, 22 Apr 2018)
Changed paths:
M
src/main/java/org/jvnet/hudson/plugins/platformlabeler/PlatformDetailsTask.java
Log Message:
-----------
Undo compatibility breaks of PR#2 & [JENKINS-10383]
Prefer compatibility with prior behavior over new names for Windows
operating system versions. Reverts some of the changes from the fix for
[JENKINS-10383].
The plugin has not been released in 5+ years. Users have adapted
to the existing behavior and will value retaining existing behavior
more than they will value additional detection of specifically named
Windows versions.
Retain SunOS behavior from platformlabeler 1.1
The code in the 1.1 release accepted os.name as an argument, folded
it to lower case, then compared the result with "SunOS". Since there
are upper case characters in "SunOS", the comparison would never have
matched. Since it did not match, the result fell through to return the
lower case form "sunos" rather than "solaris" the code hints was
intended.
Fix [JENKINS-10383] - report bits of platform instead of JRE
[JENKINS-10383] changes behavior on 64 bit Windows and 64 bit Linux
running a 32 bit JRE. Release 1.1 reported "x86" (32 bit) on a 32 bit
JRE running on a 64 bit operating system. Release 2.0 and later reports
"amd64" (64 bit) on a 32 bit JRE running on a 64 bit operating system.
Before [JENKINS-10383] the bits of the JRE were reported.
After [JENKINS-10383] the bits of the operating system are reported.
There is no behavioral change for 32 bit machines running a 32 bit JRE.
There is no behavioral change for 64 bit machines running a 64 bit JRE.
There is no behavioral change for machines that are not Windows and not Linux.
Commit: 6318942ee5de247903fd5bc95b2eeb5174d01001
https://github.com/jenkinsci/platformlabeler-plugin/commit/6318942ee5de247903fd5bc95b2eeb5174d01001
Author: Mark Waite <[email protected]>
Date: 2018-04-22 (Sun, 22 Apr 2018)
Changed paths:
A
src/test/java/org/jvnet/hudson/plugins/platformlabeler/PlatformDetailsTaskStaticStringTest.java
A
src/test/java/org/jvnet/hudson/plugins/platformlabeler/PlatformDetailsTaskTest.java
Log Message:
-----------
Add platform details tests
Static string tests for non-Linux platforms.
More detailed test for Linux platforms, since they apply more logic than
a simple string mapping.
Commit: 140ff83a3ffbe8dac232bc97a1709f486e22ae5c
https://github.com/jenkinsci/platformlabeler-plugin/commit/140ff83a3ffbe8dac232bc97a1709f486e22ae5c
Author: Mark Waite <[email protected]>
Date: 2018-04-22 (Sun, 22 Apr 2018)
Changed paths:
M pom.xml
M src/main/java/org/jvnet/hudson/plugins/platformlabeler/NodeLabelCache.java
M
src/main/java/org/jvnet/hudson/plugins/platformlabeler/PlatformDetailsTask.java
M
src/main/java/org/jvnet/hudson/plugins/platformlabeler/PlatformLabeler.java
A
src/test/java/org/jvnet/hudson/plugins/platformlabeler/PlatformDetailsTaskStaticStringTest.java
A
src/test/java/org/jvnet/hudson/plugins/platformlabeler/PlatformDetailsTaskTest.java
M
src/test/java/org/jvnet/hudson/plugins/platformlabeler/PlatformLabelerTest.java
Log Message:
-----------
Merge pull request #4 from MarkEWaite/add-platform-tests
Add platform tests
Compare:
https://github.com/jenkinsci/platformlabeler-plugin/compare/832f628bad4f...140ff83a3ffb
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.