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 cb3e649  cmake: fix directory location across builds (#184)
cb3e649 is described below

commit cb3e6494a9e37506024371bda3a3192a5138f175
Author: Brian Neradt <[email protected]>
AuthorDate: Thu Jun 22 15:47:03 2023 -0500

    cmake: fix directory location across builds (#184)
---
 jenkins/github/cmake.pipeline | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/jenkins/github/cmake.pipeline b/jenkins/github/cmake.pipeline
index aecb1b2..d23ce5f 100644
--- a/jenkins/github/cmake.pipeline
+++ b/jenkins/github/cmake.pipeline
@@ -65,16 +65,18 @@ pipeline {
                         cmake -B cmake-build-release -GNinja 
-DCMAKE_BUILD_TYPE=Release -DOPENSSL_ROOT_DIR=/opt/openssl-quic 
-DCMAKE_INSTALL_PREFIX=/tmp/ats
                         cmake --build cmake-build-release -j4 -v
                         cmake --install cmake-build-release
-                        cd cmake-build-release
+                        pushd cmake-build-release
                         ctest -j4 --output-on-failure --no-compress-output -T 
Test
                         /tmp/ats/bin/traffic_server -K -k -R 1
+                        popd
 
                         cmake -B cmake-build-quiche -GNinja -DENABLE_QUICHE=ON 
-DCMAKE_BUILD_TYPE=Release -Dquiche_ROOT=/opt/quiche 
-DOPENSSL_ROOT_DIR=/opt/boringssl -DCMAKE_INSTALL_PREFIX=/tmp/ats_quiche
                         cmake --build cmake-build-quiche -j4 -v
                         cmake --install cmake-build-quiche
-                        cd cmake-build-quiche
+                        pushd cmake-build-quiche
                         ctest -j4 --output-on-failure --no-compress-output -T 
Test
                         /tmp/ats_quiche/bin/traffic_server -K -k -R 1
+                        popd
 
                         '''
                 }

Reply via email to