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 b5848a5 docs.sh: fix for bad env var
new 4229dde Merge pull request #272 from traeak/docs_fix
b5848a5 is described below
commit b5848a5e1884ab2f125fd88a62ead20473385b9d
Author: Brian Olsen <[email protected]>
AuthorDate: Thu Oct 26 14:24:13 2023 -0600
docs.sh: fix for bad env var
---
jenkins/bin/docs.sh | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/jenkins/bin/docs.sh b/jenkins/bin/docs.sh
index 0da63eb..cdccde8 100755
--- a/jenkins/bin/docs.sh
+++ b/jenkins/bin/docs.sh
@@ -95,23 +95,23 @@ fi
# If we made it here, the doc build ran and succeeded. Let's copy out the
# docbuild contents so it can be published.
-mkdir -p ${output_dir}
-docbuild_dir="docbuild"
+mkdir -p ${outputdir}
+docbuilddir="docbuild"
if [ -d docbuild ]
then
- docbuild_dir="docbuild"
+ docbuilddir="docbuild"
elif [ -d docs-build/doc/docbuild ]
then
- docbuild_dir="docs-build/doc/docbuild"
+ docbuilddir="docs-build/doc/docbuild"
else
echo "Could not find build docs."
exit 1
fi
-cp -rf "${docbuild_dir}" "${output_dir}"
-ls "${output_dir}/docbuild"
+cp -rf "${docbuilddir}" "${outputdir}"
+ls "${outputdir}/docbuild"
-sudo chmod -R u=rwX,g=rX,o=rX "${output_dir}" || exit 1
+sudo chmod -R u=rwX,g=rX,o=rX "${outputdir}" || exit 1
#if [ "${PUBLISH_DOCS}" == "true" ]; then
# sudo cp -avx ja /home/docs