Branch: refs/heads/master
Home: https://github.com/jenkinsci/platformlabeler-plugin
Commit: 63d4079df11f460174ed77293af972f6d7abbd80
https://github.com/jenkinsci/platformlabeler-plugin/commit/63d4079df11f460174ed77293af972f6d7abbd80
Author: Mark Waite <[email protected]>
Date: 2023-03-19 (Sun, 19 Mar 2023)
Changed paths:
M src/main/java/org/jvnet/hudson/plugins/platformlabeler/LsbRelease.java
M
src/test/java/org/jvnet/hudson/plugins/platformlabeler/PlatformDetailsTaskTest.java
Log Message:
-----------
[JENKINS-70737] Report Debian unstable correctly during freeze
During soft freeze and hard freeze before a new Debian release,
the /etc/os-release file on Debian unstable intentionally
looks like the next major release. That is intentional. See
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845651 for details.
When in that state, the apt-cache command can be used to determine the
Debian release that is running.
The base-files package is used to query the apt-cache policy because it
is required for all Debian installations and because it is the package
that provides the /etc/os-release file that is used elsewhere to determine
version information in case the lsb_release command is not available.
This changes to call `apt-cache policy base-files` on all Debian machines.
If the return value is not `unstable` or `testing` or `sid` then it
is ignored.
Adapt PlatformDetailsTaskTest to unstable in freeze
Commit: 82417ccbeee83c278ae0d4825d43e0d98a4b8f37
https://github.com/jenkinsci/platformlabeler-plugin/commit/82417ccbeee83c278ae0d4825d43e0d98a4b8f37
Author: Mark Waite <[email protected]>
Date: 2023-03-19 (Sun, 19 Mar 2023)
Changed paths:
M
src/test/java/org/jvnet/hudson/plugins/platformlabeler/NodeLabelCacheTest.java
Log Message:
-----------
Resolve Java warning in test
Compare:
https://github.com/jenkinsci/platformlabeler-plugin/compare/006ba1ea1d5e...82417ccbeee8
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/platformlabeler-plugin/push/refs/heads/master/006ba1-82417c%40github.com.