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 f93ba10  Fixing how LIBSWOC_VERSION is grepped (#325)
f93ba10 is described below

commit f93ba103ee85b3ae9c7e28303e816a0c843b269f
Author: Brian Neradt <[email protected]>
AuthorDate: Thu Mar 21 17:43:35 2024 -0500

    Fixing how LIBSWOC_VERSION is grepped (#325)
---
 jenkins/github/rocky.pipeline | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jenkins/github/rocky.pipeline b/jenkins/github/rocky.pipeline
index 2f5b3ac..e60e934 100644
--- a/jenkins/github/rocky.pipeline
+++ b/jenkins/github/rocky.pipeline
@@ -68,7 +68,7 @@ pipeline {
                         if [ -d cmake ]
                         then
                             # Retrieve the libswoc version we use in ATS.
-                            swoc_version=$(awk '/set\(LIBSWOC_VERSION/ {print 
$NF}' lib/swoc/CMakeLists.txt | tr -d ')"')
+                            swoc_version=$(awk '/LIBSWOC_VERSION/ {print $NF; 
exit}' lib/swoc/CMakeLists.txt | tr -d '")')
 
                             pushd /var/tmp
                             git clone 
https://github.com/apache/trafficserver-libswoc.git

Reply via email to