Didn't realize in the previous patch
I0ed5176a3216b6a115bd2bae527df4bb5b1d2c45 that we needed to escape curly
braces but keep {rtdproject} as it's a JJB variable we're passing in.
Change-Id: I7357262e12219c642f29d507087e5ea1a45496a6
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
if [ $GERRIT_BRANCH == "master" ]; then
RTD_BUILD_VERSION=latest
else
- RTD_BUILD_VERSION=${GERRIT_BRANCH/\//-}
+ RTD_BUILD_VERSION=${{GERRIT_BRANCH/\//-}}
fi
curl -X POST --data "version_slug=$RTD_BUILD_VERSION" https://readthedocs.org/build/{rtdproject}
pattern: docs/**/*.rst
builders:
- - shell: !include-raw-escape: docs-post-rtd.sh
+ - shell: !include-raw: docs-post-rtd.sh
publishers:
- email-notification: