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 be0c997 PR cmake.pipeline: put /opt/bin in the path (#159)
be0c997 is described below
commit be0c997032b4961d3945674fd344f340f1e473ce
Author: Brian Neradt <[email protected]>
AuthorDate: Thu May 4 11:22:19 2023 -0500
PR cmake.pipeline: put /opt/bin in the path (#159)
I installed a new version of cmake for the work Chris McFarlen is doing.
Putting /opt/bin in the PATH is in the /etc/profile.d/opt_bin.sh, but
that doesn't work for jenkins for some reason. Explicitly adding it to
the PATH for the pipeline script.
---
jenkins/github/cmake.pipeline | 2 ++
1 file changed, 2 insertions(+)
diff --git a/jenkins/github/cmake.pipeline b/jenkins/github/cmake.pipeline
index 9d56cd7..d632ea2 100644
--- a/jenkins/github/cmake.pipeline
+++ b/jenkins/github/cmake.pipeline
@@ -60,6 +60,8 @@ pipeline {
source /opt/rh/gcc-toolset-11/enable
+ export PATH=/opt/bin:${PATH}
+
mkdir cmake-build-release
cd cmake-build-release
cmake -DCMAKE_BUILD_TYPE:STRING=Release
-DOPENSSL_ROOT_DIR=/opt/openssl-quic ..