diff --git a/Jenkinsfile b/Jenkinsfile index 9c0232492e9..48fdba2fc4c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -19,7 +19,6 @@ // To use a test branch (i.e. PR) until it lands to master // I.e. for testing library changes //@Library(value='pipeline-lib@your_branch') _ - // The trusted-pipeline-lib daosLatestVersion() method will convert this into a number /* groovylint-disable-next-line CompileStatic, VariableName */ String next_version() { @@ -923,6 +922,30 @@ pipeline { } } // post } // stage('Functional on Leap 15') + stage('Functional on SLES 15') { + when { + beforeAgent true + expression { !skipStage() } + } + agent { + label vm9_label('Leap15') + } + steps { + job_step_update( + functionalTest( + inst_repos: daosRepos(), + inst_rpms: functionalPackages(1, next_version(), 'tests-internal') + + ' mercury-libfabric', + test_function: 'runTestFunctionalV2', + image_version: 'sles15.7')) + } + post { + always { + functionalTestPostV2() + job_status_update() + } + } // post + } // stage('Functional on SLES 15') stage('Functional on Ubuntu 20.04') { when { beforeAgent true diff --git a/ci/parse_ci_envs.sh b/ci/parse_ci_envs.sh index 2c382ada779..74410139445 100755 --- a/ci/parse_ci_envs.sh +++ b/ci/parse_ci_envs.sh @@ -22,8 +22,12 @@ if [ -n "${STAGE_NAME:?}" ]; then : "${TARGET:=centos9}" : "${REPO_SPEC:=el-9}" ;; + *SLES\ 15.7*|*sles15.7*) + : "${CHROOT_NAME:=sles-15-sp7-x86_64}" + : "${TARGET:=sles15.7}" + ;; *Leap\ 15.6*|*leap15.6*|*opensuse15.6*|*sles15.6*) - : "${CHROOT_NAME:=opensuse-leap-15.5-x86_64}" + : "${CHROOT_NAME:=opensuse-leap-15.6-x86_64}" : "${TARGET:=leap15.6}" ;; *Leap\ 15.5*|*leap15.5*|*opensuse15.5*|*sles15.5*)