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 671cd55  Fix the cmake check for clang-analyzer (#245)
671cd55 is described below

commit 671cd552cc71b3c06e434a9600897e8ec12a486f
Author: Brian Neradt <[email protected]>
AuthorDate: Wed Oct 18 15:13:05 2023 -0500

    Fix the cmake check for clang-analyzer (#245)
    
    I accidentally grabbed the wrong cmake directory check in the previous
    commit.
---
 jenkins/github/clang-analyzer.pipeline | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jenkins/github/clang-analyzer.pipeline 
b/jenkins/github/clang-analyzer.pipeline
index 28c2b03..7fc9a63 100644
--- a/jenkins/github/clang-analyzer.pipeline
+++ b/jenkins/github/clang-analyzer.pipeline
@@ -44,7 +44,7 @@ pipeline {
                         set -x
                         set -e
 
-                        if [ ! -d cmake ]
+                        if [ -d cmake ]
                         then
                             # Build ATS to generate a compile_commands.json 
file for clang-analyzer.
                             cmake -B build -G Ninja 
-DBUILD_EXPERIMENTAL_PLUGINS=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=ON 
-DBUILD_TESTING=OFF

Reply via email to