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 ff08446 Fix my false shortcircuits (#229)
ff08446 is described below
commit ff08446a65b6e2f009a16d172be36ab8948dfa27
Author: Brian Neradt <[email protected]>
AuthorDate: Sat Oct 14 14:38:07 2023 -0500
Fix my false shortcircuits (#229)
I guess false isn't a shell thing. Using 1 -eq 0 instead.
---
jenkins/github/debian.pipeline | 4 ++--
jenkins/github/freebsd.pipeline | 4 ++--
jenkins/github/rat.pipeline | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/jenkins/github/debian.pipeline b/jenkins/github/debian.pipeline
index ec68625..99ece33 100644
--- a/jenkins/github/debian.pipeline
+++ b/jenkins/github/debian.pipeline
@@ -47,8 +47,8 @@ pipeline {
sh '''#!/bin/bash
set -x
set -e
- # `false -a`: Always run autotools until
-DENABLE_HARDENING=ON is implemented.
- if [ false -a -d cmake ]
+ # `1 -eq 0 -a`: Always run autotools until
-DENABLE_HARDENING=ON is implemented.
+ if [ 1 -eq 0 -a -d cmake ]
then
cmake -B cmake-build-release --preset ci
-DOPENSSL_ROOT_DIR=/opt/openssl-quic -DENABLE_HARDENING=ON
cmake --build cmake-build-release -v
diff --git a/jenkins/github/freebsd.pipeline b/jenkins/github/freebsd.pipeline
index 52c1020..fcfcd11 100644
--- a/jenkins/github/freebsd.pipeline
+++ b/jenkins/github/freebsd.pipeline
@@ -25,8 +25,8 @@ pipeline {
set -x
set -e
- # Avoid doing cmake builds for freebsd until we
install cmake on the CI boxes.
- if [ false -a -d cmake ]
+ # `1 -eq 0`: Avoid doing cmake builds for freebsd
until we install cmake on the CI boxes.
+ if [ 1 -eq 0 -a -d cmake ]
then
cmake -B cmake-build-release
-DBUILD_EXPERIMENTAL_PLUGINS=ON -DCMAKE_INSTALL_PREFIX=/tmp/ats
cmake --build cmake-build-release -v
diff --git a/jenkins/github/rat.pipeline b/jenkins/github/rat.pipeline
index 7f44c63..538439e 100644
--- a/jenkins/github/rat.pipeline
+++ b/jenkins/github/rat.pipeline
@@ -45,8 +45,8 @@ pipeline {
set -x
set -e
- # `false -a` because we currently don't support RAT in
cmake.
- if [ false a -d cmake ]
+ # `1 -eq 0 -a` because we currently don't support RAT
in cmake.
+ if [ 1 -eq 0 a -d cmake ]
then
cmake -B build
cmake --build build --target rat