Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit fa03cea

Browse files
committedMay 18, 2021
Enable esm and fips.
1 parent e948c8d commit fa03cea

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed
 

‎linux_pipeline/Jenkinsfile_ubuntu_azure_kernel_validation

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ properties ([
155155
parameters([
156156
choice (name: 'Distro', choices: 'trusty\nxenial\nbionic\nfocal\ngroovy\nhirsute',
157157
description: 'trusty - 14.04 validation <br> xenial - 16.04 validation <br> bionic - 18.04 validation <br> focal - 20.04 validation <br> groovy - 20.10 validation <br> hirsute - 21.04 validation '),
158-
choice (name: 'KernelType', choices: 'linux-azure\nlinux-azure-edge\nlinux-image-azure-lts-18.04',
158+
choice (name: 'KernelType', choices: 'linux-azure\nlinux-azure-edge\nlinux-image-azure-lts-18.04\nesm\nlinux-azure-fips',
159159
description: 'linux-azure - latest proposed linux-azure kernel validation <br> linux-azure-edge - latest proposed linux-azure-edge kernel validation'),
160160
string(name: 'KernelVersion', defaultValue: "", description: 'The exact kernel version to be tested. Example: 5.0.0.1010.9. If left empty, the latest kernel version for the selected distro/kernel type will be used.'),
161161
choice (name: 'ValidationAzure', choices: 'yes\nno',
@@ -223,6 +223,12 @@ if (env.KernelType == "linux-azure-edge") {
223223
if (env.KernelType == "linux-image-azure-lts-18.04") {
224224
env.KERNEL_TYPE = "linux-image-azure-lts-18.04"
225225
}
226+
if (env.KernelType == "esm") {
227+
env.KERNEL_TYPE = "esm"
228+
}
229+
if (env.KernelType == "linux-azure-fips") {
230+
env.KERNEL_TYPE = "linux-azure-fips"
231+
}
226232

227233
env.START_DATE = new java.sql.Timestamp(new Date().getTime())
228234
env.END_DATE = ""
@@ -550,6 +556,10 @@ node ("meta_slave") {
550556
version_identifier = "_edge"
551557
} else if (env.KernelType == "linux-image-azure-lts-18.04") {
552558
version_identifier = "_azure_lts_1804"
559+
} else if (env.KernelType == "esm") {
560+
version_identifier = "_esm"
561+
} else if (env.KernelType == "linux-azure-fips") {
562+
version_identifier = "_azure_fips"
553563
}
554564
def kernels_info = ""
555565
try {

0 commit comments

Comments
 (0)
This repository has been archived.