From fd8d915b212fb8adc943a74b537b5b5efffeaaad Mon Sep 17 00:00:00 2001 From: ShubhamRathi Date: Fri, 27 Jan 2017 00:00:39 +0530 Subject: Add new jobs for doc merge and verify New jobs for merge and verify added in tandem to ODLDocs. Intent of keeping these doc jobs between ODL & OPNFV as similar as possible is to keep the scope for common jobs and cross collaboration possible. The archiving feature that is included in post build configuration of ODLDoc jobs has been left out for now until CI Team can take it up. Change-Id: Ifb494f1491f07ad0af39cd2644f895372b98edf3 Signed-off-by: ShubhamRathi --- jjb/opnfvdocs/docs-post-rtd.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 jjb/opnfvdocs/docs-post-rtd.sh (limited to 'jjb/opnfvdocs/docs-post-rtd.sh') diff --git a/jjb/opnfvdocs/docs-post-rtd.sh b/jjb/opnfvdocs/docs-post-rtd.sh new file mode 100644 index 000000000..7faa26f38 --- /dev/null +++ b/jjb/opnfvdocs/docs-post-rtd.sh @@ -0,0 +1,7 @@ +#!/bin/bash +if [ $GERRIT_BRANCH == "master" ]; then + RTD_BUILD_VERSION=latest +else + RTD_BUILD_VERSION=${{GERRIT_BRANCH/\//-}} +fi +curl -X POST --data "version_slug=$RTD_BUILD_VERSION" https://readthedocs.org/build/{rtdproject} -- cgit 1.2.3-korg