Skip to content

Commit

Permalink
Merge pull request #125 from MarkEWaite/add-linux-mint
Browse files Browse the repository at this point in the history
[JENKINS-59565] Support Linux Mint
  • Loading branch information
MarkEWaite authored Nov 5, 2019
2 parents 86a5f6e + 32a6aa6 commit 519da92
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Labels commonly include operating system name, version, and architecture.
| Fedora 31 | `Fedora` | `31` | `amd64` |
| FreeBSD 11 | `freebsd` | `11.1-STABLE` | `amd64` |
| FreeBSD 12 | `freebsd` | `12.0-RELEASE` | `amd64` |
| Linux Mint 19.3 | `LinuxMint` | `19.03` | `amd64` |
| Oracle Linux 6 | `OracleServer` | `6.10` | `amd64` |
| Oracle Linux 7 | `OracleServer` | `7.6` | `amd64` |
| Oracle Linux 8 | `OracleServer` | `8.0` | `amd64` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ protected PlatformDetails computeLabels(
PREFERRED_LINUX_OS_NAMES.put("centos", "CentOS");
PREFERRED_LINUX_OS_NAMES.put("debian", "Debian");
PREFERRED_LINUX_OS_NAMES.put("fedora", "Fedora");
PREFERRED_LINUX_OS_NAMES.put("linuxmint", "LinuxMint");
PREFERRED_LINUX_OS_NAMES.put("ol", "OracleServer");
PREFERRED_LINUX_OS_NAMES.put("opensuse", "openSUSE");
PREFERRED_LINUX_OS_NAMES.put("raspbian", "Raspbian");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ private static String computeExpectedName(String filename) {
if (filename.contains("oraclelinux")) {
return "OracleServer";
}
if (filename.contains("linuxmint")) {
return "LinuxMint";
}
if (filename.contains("raspbian")) {
return "Raspbian";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ private static String computeExpectedName(String filename) {
if (filename.contains("fedora")) {
return "Fedora";
}
if (filename.contains("linuxmint")) {
return "LinuxMint";
}
if (filename.contains("oraclelinux")) {
return "OracleServer";
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
FROM linuxmintd/mint19.3-amd64:latest
RUN apt-get update && apt-get dist-upgrade -y && apt-get install -y lsb-release
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Distributor ID: LinuxMint
Description: Linux Mint 19.3 Tricia
Release: 19.3
Codename: tricia
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
NAME="Linux Mint"
VERSION="19.3 (Tricia)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 19.3"
VERSION_ID="19.3"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.ubuntu.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=tricia
UBUNTU_CODENAME=bionic

0 comments on commit 519da92

Please sign in to comment.