Skip to content
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
cafcfa4
[RA-7032] Add RHEL 10
aabirov1 Feb 16, 2026
58bee28
[RA-7032] Make fedora44 optional
aabirov1 Feb 18, 2026
381ed86
[RA-7032] Make fedora44 optional
aabirov1 Feb 18, 2026
4c1a306
[RA-7032] Make fedora44 optional
aabirov1 Feb 18, 2026
63ec3b7
[RA-7032] Make fedora44 optional
aabirov1 Feb 18, 2026
1a1b9f3
[RA-7032] Do not fail pipeline if fedora44 was failed
aabirov1 Feb 19, 2026
659fcb9
[RA-7032] Do not fail pipeline if fedora44 was failed
aabirov1 Feb 19, 2026
6393ce1
[RA-7032] Do not fail pipeline if fedora44 was failed
aabirov1 Feb 19, 2026
76ee38a
[RA-7032] Do not fail pipeline if fedora44 was failed
aabirov1 Feb 19, 2026
1de4e48
[RA-7032] Do not fail pipeline if fedora44 was failed
aabirov1 Feb 19, 2026
23aff7c
[RA-7032] Do not fail pipeline if fedora44 was failed
aabirov1 Feb 19, 2026
7565bf9
[RA-7032] Do not fail pipeline if fedora44 was failed
aabirov1 Feb 19, 2026
eb18c66
[RA-7032] Do not fail pipeline if fedora44 was failed
aabirov1 Feb 19, 2026
e3de1dd
[RA-7032] Test catchError + use current result
aabirov1 Feb 19, 2026
2678812
[RA-7032] Use unstable for fedora44
aabirov1 Feb 20, 2026
ea59733
[RA-7032] Manual skip all stages instead of UNSTABLE
aabirov1 Feb 23, 2026
dc645eb
[RA-7032] Fix skip for fedora only + fail fedora branch
aabirov1 Feb 23, 2026
e9045ac
[RA-7032] Throw error to fail fedora pipe and skip next steps
aabirov1 Feb 23, 2026
7547eb8
[RA-7032] Run fedora tests only if build was successful
aabirov1 Feb 23, 2026
cdd9292
[RA-7032] Fix PR
aabirov1 Feb 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 67 additions & 13 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ def map_deb_distro = [
"debian13" : "trixie-agent",
]

def shouldRunStage()
{
return !(env.DISTRO == 'fedora44' && env.SKIP_REST == "true")
}

def test_disks = [:]

pipeline
Expand Down Expand Up @@ -62,7 +67,7 @@ pipeline
values 'debian10', 'debian11', 'debian12', 'debian13',
'alma8', 'alma9',
'ubuntu1804', 'ubuntu2004', 'ubuntu2204', 'ubuntu2404',
'rhel7', 'rhel8', 'rhel9',
'rhel7', 'rhel8', 'rhel9', 'rhel10',
'fedora44'
}
}
Expand All @@ -76,8 +81,14 @@ pipeline
when { expression { env.DISTRO == 'fedora44' } }
steps
{
updateKernelWithReboot()
checkout scm
script
{
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE')
{
updateKernelWithReboot()
checkout scm
}
}
}
}
stage('Publish packages')
Expand All @@ -102,29 +113,68 @@ pipeline
{
steps
{
script { test_disks[env.DISTRO] = getTestDisks() }
lock(label: 'elastio-vmx', quantity: 1, resource : null)
script
{
sh "sudo make"
sh "sudo make install"
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE')
{
try
{
script { test_disks[env.DISTRO] = getTestDisks() }
lock(label: 'elastio-vmx', quantity: 1, resource : null)
{
sh "sudo make"
sh "sudo make install"
}
}
catch (e)
{
env.SKIP_REST = "true"
throw e
}
}
}

}
}


stage('Run tests (loop device)') { steps { runTests(supported_fs, "") } }
stage('Run tests on LVM (loop device)') { steps { runTests(supported_fs, "--lvm") } }
stage('Run tests on RAID (loop device)') { steps { runTests(supported_fs, "--raid") } }
stage('Run tests (loop device)')
{
when {
expression { shouldRunStage() }
}
steps { runTests(supported_fs, "") }
}
stage('Run tests on LVM (loop device)')
{
when {
expression { shouldRunStage() }
}
steps { runTests(supported_fs, "--lvm") }
}
stage('Run tests on RAID (loop device)')
{
when {
expression { shouldRunStage() }
}
steps { runTests(supported_fs, "--raid") }
}

stage('Run tests (qcow2 disk)')
{
when { branch pattern: '^(build|release|develop|master|staging).*', comparator: "REGEXP" }
when {
expression { shouldRunStage() }
branch pattern: '^(build|release|develop|master|staging).*', comparator: "REGEXP"
}
steps { runTests(supported_fs, "-d ${test_disks[env.DISTRO][0]}1") }
}

stage('Run tests on LVM (qcow2 disks)')
{
when { branch pattern: '^(build|release|develop|master|staging).*', comparator: "REGEXP" }
when {
expression { shouldRunStage() }
branch pattern: '^(build|release|develop|master|staging).*', comparator: "REGEXP"
}
steps { runTests(supported_fs, " -d ${test_disks[env.DISTRO][0]} -d ${test_disks[env.DISTRO][1]} --lvm") }
}

Expand All @@ -134,14 +184,18 @@ pipeline
// mount of the raid1 device with XFS even if elastio-snap is not loaded. See https://bugzilla.redhat.com/show_bug.cgi?id=1111290
when
{
expression { shouldRunStage() }
branch pattern: '^(build|release|develop|master|staging).*', comparator: "REGEXP"
expression { env.DISTRO != 'debian8' }
}
steps { runTests(supported_fs, " -d ${test_disks[env.DISTRO][0]} -d ${test_disks[env.DISTRO][1]} --raid") }
}

stage('Run tests multipart (qcow2 disks)') {
when { branch pattern: '^(build|release|develop|master|staging).*', comparator: "REGEXP" }
when {
expression { shouldRunStage() }
branch pattern: '^(build|release|develop|master|staging).*', comparator: "REGEXP"
}
steps { runTests(supported_fs, "-d ${test_disks[env.DISTRO][0]} -t test_multipart") }
}
}
Expand Down