This is an automated email from the ASF dual-hosted git repository. bneradt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git
The following commit(s) were added to refs/heads/main by this push: new bfee50b Do not run the cmake PR job for 9.x branches (#143) bfee50b is described below commit bfee50b5118566a847dbb4d333025e196743906f Author: Brian Neradt <brian.ner...@gmail.com> AuthorDate: Mon Apr 10 18:29:57 2023 -0500 Do not run the cmake PR job for 9.x branches (#143) --- jenkins/github/cmake.pipeline | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/jenkins/github/cmake.pipeline b/jenkins/github/cmake.pipeline index f47d551..9d56cd7 100644 --- a/jenkins/github/cmake.pipeline +++ b/jenkins/github/cmake.pipeline @@ -47,6 +47,18 @@ pipeline { sh '''#!/bin/bash set -x set -e + + # We do not support CMake builds for the 9.x branch. + if [ "${GITHUB_PR_TARGET_BRANCH}" == "9.0.x" -o \ + "${GITHUB_PR_TARGET_BRANCH}" == "9.1.x" -o \ + "${GITHUB_PR_TARGET_BRANCH}" == "9.2.x" ] + then + echo "CMake builds are not supported for the 9.x branch." + echo "No need to test it to show that it fails." + exit 0 + fi + + source /opt/rh/gcc-toolset-11/enable mkdir cmake-build-release cd cmake-build-release @@ -58,9 +70,9 @@ pipeline { } } } - - post { - cleanup { + + post { + cleanup { cleanWs() } }