]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
CI: Force publishAsteriskDocs to use python2
authorGeorge Joseph <gjoseph@digium.com>
Thu, 16 Jul 2020 13:41:16 +0000 (07:41 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Fri, 24 Jul 2020 13:57:29 +0000 (08:57 -0500)
Change-Id: I7d951e75ad2d472fa096647dfb55670b11105e23

tests/CI/publishAsteriskDocs.sh

index dc59033faa2f643b9372ecc1353ff1a90e5f89e8..6c5539fcfdbed85422f09110c8f2249ba376aff0 100755 (executable)
@@ -103,7 +103,7 @@ fi
 # Publish the REST API.
 #
 
-${OUTPUTDIR}/publish-rest-api.py --username="${CONFLUENCE_USER}" \
+python2 ${OUTPUTDIR}/publish-rest-api.py --username="${CONFLUENCE_USER}" \
         --verbose \
         --ast-version="${AST_VER}" \
         ${CONFLUENCE_URL} \
@@ -133,7 +133,7 @@ PREFIX="Asterisk ${BRANCH_NAME}"
 # Script assumes that it's running from TOPDIR
 pushd ${OUTPUTDIR}
 
-./astxml2wiki.py --username="${CONFLUENCE_USER}" \
+python2 ./astxml2wiki.py --username="${CONFLUENCE_USER}" \
     --server=${CONFLUENCE_URL} \
     --prefix="${PREFIX}" \
     --space="${CONFLUENCE_SPACE}" \