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 733df61 Paramaterize the cmake preset for branch autests (#381)
733df61 is described below
commit 733df61d8e05ab2a66ebb8519eb419cabca3866c
Author: Brian Neradt <[email protected]>
AuthorDate: Wed Jul 23 16:39:54 2025 -0500
Paramaterize the cmake preset for branch autests (#381)
This will allow us to set a different cmake preset via jenkins.
---
jenkins/branch/autest.pipeline | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/jenkins/branch/autest.pipeline b/jenkins/branch/autest.pipeline
index e43f466..70288d0 100644
--- a/jenkins/branch/autest.pipeline
+++ b/jenkins/branch/autest.pipeline
@@ -37,6 +37,10 @@ pipeline {
env.SHARD = 0
env.SHARDCNT = 0
}
+
+ if (!env.CMAKE_PRESET) {
+ env.CMAKE_PRESET =
'branch-autest'
+ }
}
}
}
@@ -96,7 +100,7 @@ pipeline {
presetpath="../ci/jenkins/branch/CMakePresets.json"
[ -f "${presetpath}" ]
&& cp -f "${presetpath}" .
- cmake -B build --preset
branch-autest
+ cmake -B build --preset
${env.CMAKE_PRESET}
cmake --build build
-j${NPROC} -v
cmake --install build -v