From: Thanh Ha Date: Tue, 19 Sep 2017 17:59:34 +0000 (-0400) Subject: Docs needs to be built from the $WORKSPACE X-Git-Tag: v0.9.0~6 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F39%2F6539%2F4;p=releng%2Fglobal-jjb.git Docs needs to be built from the $WORKSPACE Otherwise it will build from the submodule because of the if-statement above. This breaks the job in cases where a project has submodules. Change-Id: I06d6291d3329da142ecdbebfb4ac1a866108ef0b Signed-off-by: Thanh Ha --- diff --git a/.jjb-test/expected-xml/gerrit-rtd-rtd-verify-master b/.jjb-test/expected-xml/gerrit-rtd-rtd-verify-master index e102182a..5e71f5d1 100644 --- a/.jjb-test/expected-xml/gerrit-rtd-rtd-verify-master +++ b/.jjb-test/expected-xml/gerrit-rtd-rtd-verify-master @@ -239,6 +239,7 @@ fi git fetch origin "$GERRIT_REFSPEC" && git checkout FETCH_HEAD echo "---> Generating docs" +cd "$WORKSPACE" tox -edocs echo "---> Archiving generated docs" diff --git a/.jjb-test/expected-xml/github-rtd-rtd-verify-master b/.jjb-test/expected-xml/github-rtd-rtd-verify-master index a9c3edb0..44dc1b71 100644 --- a/.jjb-test/expected-xml/github-rtd-rtd-verify-master +++ b/.jjb-test/expected-xml/github-rtd-rtd-verify-master @@ -191,6 +191,7 @@ fi git fetch origin "$GERRIT_REFSPEC" && git checkout FETCH_HEAD echo "---> Generating docs" +cd "$WORKSPACE" tox -edocs echo "---> Archiving generated docs" diff --git a/shell/rtd-verify.sh b/shell/rtd-verify.sh index ff063587..2074ecaf 100644 --- a/shell/rtd-verify.sh +++ b/shell/rtd-verify.sh @@ -22,6 +22,7 @@ fi git fetch origin "$GERRIT_REFSPEC" && git checkout FETCH_HEAD echo "---> Generating docs" +cd "$WORKSPACE" tox -edocs echo "---> Archiving generated docs"