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 265f6a1 cmake jobs: Making sure /opt/bin is in PATH (#418)
265f6a1 is described below
commit 265f6a1b3ccf2d50b17732be21294daa28e75484
Author: Brian Neradt <[email protected]>
AuthorDate: Tue Jan 6 18:08:34 2026 -0600
cmake jobs: Making sure /opt/bin is in PATH (#418)
---
jenkins/bin/clang-analyzer.sh | 1 +
jenkins/bin/cmake_basic.sh | 1 +
jenkins/bin/coverity.sh | 2 +-
jenkins/bin/docs.sh | 1 +
jenkins/bin/format.sh | 1 +
jenkins/bin/rat.sh | 1 +
jenkins/bin/regression.sh | 1 +
jenkins/branch/coverity.pipeline | 1 +
jenkins/branch/freebsd.pipeline | 1 +
jenkins/branch/os_build.pipeline | 1 +
jenkins/branch/osx-m1.pipeline | 1 +
jenkins/branch/osx.pipeline | 1 +
jenkins/github/clang-analyzer.pipeline | 2 ++
jenkins/github/debian.pipeline | 1 +
jenkins/github/docs.pipeline | 1 +
jenkins/github/fedora.pipeline | 1 +
jenkins/github/format.pipeline | 1 +
jenkins/github/freebsd.pipeline | 1 +
jenkins/github/rat.pipeline | 1 +
jenkins/github/rocky-asan.pipeline | 1 +
jenkins/github/rocky.pipeline | 1 +
jenkins/github/ubuntu.pipeline | 1 +
22 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/jenkins/bin/clang-analyzer.sh b/jenkins/bin/clang-analyzer.sh
index 30bcb9b..8070cdc 100755
--- a/jenkins/bin/clang-analyzer.sh
+++ b/jenkins/bin/clang-analyzer.sh
@@ -31,6 +31,7 @@ ANAL_BUILD=$(ls /usr/bin/analyze-build* | grep -v py | tail
-n 1)
RPTDIR="${WORKSPACE}/output/${GITHUB_BRANCH}"
mkdir -p ${RPTDIR}
+export PATH=/opt/bin:$PATH
if [ -d cmake ]
then
diff --git a/jenkins/bin/cmake_basic.sh b/jenkins/bin/cmake_basic.sh
index eb2cdc3..11ebc0f 100755
--- a/jenkins/bin/cmake_basic.sh
+++ b/jenkins/bin/cmake_basic.sh
@@ -21,6 +21,7 @@
set -x
NPROC=${NPROC:-$(getconf _NPROCESSORS_ONLN)}
+export PATH=/opt/bin:$PATH
if [ ! -d cmake ]
then
diff --git a/jenkins/bin/coverity.sh b/jenkins/bin/coverity.sh
index 67501e8..08c53ff 100755
--- a/jenkins/bin/coverity.sh
+++ b/jenkins/bin/coverity.sh
@@ -22,7 +22,7 @@ NPROC=${NPROC:-$(getconf _NPROCESSORS_ONLN)}
# Get the Coverity tools into our path
source /opt/rh/devtoolset-7/enable
-export PATH=/home/coverity/bin:${PATH}
+export PATH=/home/coverity/bin:/opt/bin:${PATH}
COV_TARBALL=/tmp/trafficserver-${TODAY}.tgz
COV_VERSION=$(git rev-parse --short HEAD)
diff --git a/jenkins/bin/docs.sh b/jenkins/bin/docs.sh
index 95cfd67..049042b 100755
--- a/jenkins/bin/docs.sh
+++ b/jenkins/bin/docs.sh
@@ -42,6 +42,7 @@ vername="${GITHUB_PR_NUMBER:=""}"
outputdir="${PWD}/output"
enoutdir="${outputdir}/en/${vername}"
jaoutdir="${outputdir}/ja/${vername}"
+export PATH=/opt/bin:$PATH
sudo chmod -R ugo+w . || exit 1
diff --git a/jenkins/bin/format.sh b/jenkins/bin/format.sh
index fa70c1e..5b867b0 100755
--- a/jenkins/bin/format.sh
+++ b/jenkins/bin/format.sh
@@ -48,6 +48,7 @@ echo "Success! No DOS carriage return"
set -x
NPROC=${NPROC:-$(getconf _NPROCESSORS_ONLN)}
+export PATH=/opt/bin:$PATH
if [ -d cmake ]
then
diff --git a/jenkins/bin/rat.sh b/jenkins/bin/rat.sh
index 0e8a7bc..636787d 100755
--- a/jenkins/bin/rat.sh
+++ b/jenkins/bin/rat.sh
@@ -22,6 +22,7 @@ set -e
WORKSPACE="${WORKSPACE:-..}"
cd "${WORKSPACE}/src"
+export PATH=/opt/bin:$PATH
if [ -d cmake ]
then
diff --git a/jenkins/bin/regression.sh b/jenkins/bin/regression.sh
index 1fcf61e..4136da6 100755
--- a/jenkins/bin/regression.sh
+++ b/jenkins/bin/regression.sh
@@ -20,6 +20,7 @@ set -x
set -e
NPROC=${NPROC:-$(getconf _NPROCESSORS_ONLN)}
+export PATH=/opt/bin:$PATH
#cd "${ATS_BUILD_BASEDIR}/build"
#cd "${ATS_BUILD_BASEDIR}"
diff --git a/jenkins/branch/coverity.pipeline b/jenkins/branch/coverity.pipeline
index 0c59a89..6276a8a 100644
--- a/jenkins/branch/coverity.pipeline
+++ b/jenkins/branch/coverity.pipeline
@@ -29,6 +29,7 @@ pipeline {
sh '''#!/bin/bash
set +x
source
/opt/rh/gcc-toolset-11/enable
+ export PATH=/opt/bin:$PATH
rm -rf cov_tools
rm -rf cov-int
mkdir cov_tools
diff --git a/jenkins/branch/freebsd.pipeline b/jenkins/branch/freebsd.pipeline
index 2cad8d0..af5d39c 100644
--- a/jenkins/branch/freebsd.pipeline
+++ b/jenkins/branch/freebsd.pipeline
@@ -34,6 +34,7 @@ pipeline {
set -e
NPROC=3
+ export PATH=/opt/bin:$PATH
if [ -d cmake ]
then
diff --git a/jenkins/branch/os_build.pipeline b/jenkins/branch/os_build.pipeline
index 69c4a9f..1929534 100644
--- a/jenkins/branch/os_build.pipeline
+++ b/jenkins/branch/os_build.pipeline
@@ -59,6 +59,7 @@ pipeline {
set -x
set -e
source ../ci/jenkins/bin/environment.sh
+ export PATH=/opt/bin:$PATH
if [ -d cmake ]
then
diff --git a/jenkins/branch/osx-m1.pipeline b/jenkins/branch/osx-m1.pipeline
index 01d7c7d..9991b7b 100644
--- a/jenkins/branch/osx-m1.pipeline
+++ b/jenkins/branch/osx-m1.pipeline
@@ -34,6 +34,7 @@ pipeline {
set -e
NPROC=3
+ export PATH=/opt/bin:$PATH
if [ -d cmake ]
then
diff --git a/jenkins/branch/osx.pipeline b/jenkins/branch/osx.pipeline
index 4d68f0c..25c5bb2 100644
--- a/jenkins/branch/osx.pipeline
+++ b/jenkins/branch/osx.pipeline
@@ -34,6 +34,7 @@ pipeline {
set -e
NPROC=3
+ export PATH=/opt/bin:$PATH
if [ -d cmake ]
then
diff --git a/jenkins/github/clang-analyzer.pipeline
b/jenkins/github/clang-analyzer.pipeline
index 54f5c6c..e11ebf3 100644
--- a/jenkins/github/clang-analyzer.pipeline
+++ b/jenkins/github/clang-analyzer.pipeline
@@ -60,6 +60,8 @@ pipeline {
set -x
set -e
+ export PATH=/opt/bin:$PATH
+
if [ -d cmake ]
then
cmake -B build --preset ci-clang-analyzer
diff --git a/jenkins/github/debian.pipeline b/jenkins/github/debian.pipeline
index 43594c8..b1152d7 100644
--- a/jenkins/github/debian.pipeline
+++ b/jenkins/github/debian.pipeline
@@ -63,6 +63,7 @@ pipeline {
sh '''#!/bin/bash
set -x
set -e
+ export PATH=/opt/bin:$PATH
if [ -d cmake ]
then
cmake -B build --preset ci-debian
diff --git a/jenkins/github/docs.pipeline b/jenkins/github/docs.pipeline
index 9eaac99..1ddf7cb 100644
--- a/jenkins/github/docs.pipeline
+++ b/jenkins/github/docs.pipeline
@@ -76,6 +76,7 @@ pipeline {
export PIPENV_VENV_IN_PROJECT=1
python3.12 -m pipenv install --python python3.12
source .venv/bin/activate
+ export PATH=/opt/bin:$PATH
if [ -d cmake ]
then
diff --git a/jenkins/github/fedora.pipeline b/jenkins/github/fedora.pipeline
index b389e0c..6fb2839 100644
--- a/jenkins/github/fedora.pipeline
+++ b/jenkins/github/fedora.pipeline
@@ -63,6 +63,7 @@ pipeline {
sh '''#!/bin/bash
set -x
set -e
+ export PATH=/opt/bin:$PATH
if [ -d cmake ]
then
diff --git a/jenkins/github/format.pipeline b/jenkins/github/format.pipeline
index 858873a..ab61f23 100644
--- a/jenkins/github/format.pipeline
+++ b/jenkins/github/format.pipeline
@@ -59,6 +59,7 @@ pipeline {
dir('src') {
sh '''#!/bin/bash
+ export PATH=/opt/bin:$PATH
if [ -d cmake ]
then
cmake -B build
diff --git a/jenkins/github/freebsd.pipeline b/jenkins/github/freebsd.pipeline
index 5e4bf69..9eddde6 100644
--- a/jenkins/github/freebsd.pipeline
+++ b/jenkins/github/freebsd.pipeline
@@ -52,6 +52,7 @@ pipeline {
set -x
set -e
+ export PATH=/opt/bin:$PATH
if [ -d cmake ]
then
diff --git a/jenkins/github/rat.pipeline b/jenkins/github/rat.pipeline
index d37e464..6168087 100644
--- a/jenkins/github/rat.pipeline
+++ b/jenkins/github/rat.pipeline
@@ -61,6 +61,7 @@ pipeline {
set -x
set -e
+ export PATH=/opt/bin:$PATH
if [ -d cmake ]
then
cmake -B build
diff --git a/jenkins/github/rocky-asan.pipeline
b/jenkins/github/rocky-asan.pipeline
index d6610d8..f8103c5 100644
--- a/jenkins/github/rocky-asan.pipeline
+++ b/jenkins/github/rocky-asan.pipeline
@@ -64,6 +64,7 @@ pipeline {
set -x
set -e
source /opt/rh/gcc-toolset-11/enable
+ export PATH=/opt/bin:$PATH
if [ -d cmake ]
then
diff --git a/jenkins/github/rocky.pipeline b/jenkins/github/rocky.pipeline
index bb5250c..15efdd3 100644
--- a/jenkins/github/rocky.pipeline
+++ b/jenkins/github/rocky.pipeline
@@ -64,6 +64,7 @@ pipeline {
set -x
set -e
source /opt/rh/gcc-toolset-11/enable
+ export PATH=/opt/bin:$PATH
if [ -d cmake ]
then
diff --git a/jenkins/github/ubuntu.pipeline b/jenkins/github/ubuntu.pipeline
index c97c9fe..55f2d3f 100644
--- a/jenkins/github/ubuntu.pipeline
+++ b/jenkins/github/ubuntu.pipeline
@@ -64,6 +64,7 @@ pipeline {
set -x
set -e
+ export PATH=/opt/bin:$PATH
if [ -d cmake ]
then