diff --git a/vars/pdmdbOperatingSystems.groovy b/vars/pdmdbOperatingSystems.groovy index d09456984c..476dd220c6 100644 --- a/vars/pdmdbOperatingSystems.groovy +++ b/vars/pdmdbOperatingSystems.groovy @@ -1,8 +1,8 @@ def call(String version = 'default', String newVersion = null) { def switchValues = [ - (~/(p.mdb-)?6(\.)?0.*/): ['centos-7', 'debian-10', 'debian-11', 'ubuntu-focal', 'ubuntu-bionic', 'rhel8', 'rhel9', 'ubuntu-jammy'], + (~/(p.mdb-)?6(\.)?0.*/): ['centos-7', 'debian-10', 'debian-11', 'ubuntu-focal', 'rhel8', 'rhel9', 'ubuntu-jammy'], (~/(p.mdb-)?7(\.)?0.*/): ['centos-7', 'debian-11', 'debian-12', 'ubuntu-focal', 'rhel8', 'rhel9', 'ubuntu-jammy'], - 'default': ['centos-7', 'debian-10', 'debian-11', 'ubuntu-focal', 'ubuntu-bionic', 'rhel8', 'ubuntu-jammy'] + 'default': ['centos-7', 'debian-10', 'debian-11', 'ubuntu-focal', 'rhel8', 'ubuntu-jammy'] ] def versionValues = switchValues.find { key, value -> version ==~ key }?.value ?: switchValues['default']