This is an automated email from the ASF dual-hosted git repository.
bnolsen 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 9696890 environment.sh: prepend /opt/bin if the path exists
new a0b1cf6 Merge pull request #160 from traeak/opt_bin
9696890 is described below
commit 9696890e820bf579f4d7832eaf9935548851091d
Author: Brian Olsen <[email protected]>
AuthorDate: Thu May 4 19:04:42 2023 +0000
environment.sh: prepend /opt/bin if the path exists
---
jenkins/bin/environment.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/jenkins/bin/environment.sh b/jenkins/bin/environment.sh
index 04b3cb6..156afb3 100755
--- a/jenkins/bin/environment.sh
+++ b/jenkins/bin/environment.sh
@@ -18,6 +18,8 @@
set -x
+[[ ":$PATH:" != *":/opt/bin:"* ]] && export PATH="/opt/bin:${PATH}"
+
# Show which platform we're actually building on
# Deduct if this build is on a docker instance