X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Frtd-verify.sh;h=86254a10057a3fa4235c915261c5a6d4d79a701e;hb=b55451a53da28d40c62de5cae462302a32fe4c31;hp=7f403ebb9e425c58f35f16889ca751027978ad34;hpb=4d3e0b4e7bd54c19e1ebdbe4d79e8861ad158c70;p=releng%2Fglobal-jjb.git diff --git a/shell/rtd-verify.sh b/shell/rtd-verify.sh index 7f403ebb..86254a10 100644 --- a/shell/rtd-verify.sh +++ b/shell/rtd-verify.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -l # SPDX-License-Identifier: EPL-1.0 ############################################################################## # Copyright (c) 2017 The Linux Foundation and others. @@ -30,6 +30,11 @@ fi git fetch origin "$GERRIT_REFSPEC" && git checkout FETCH_HEAD git submodule update +if [[ $JOB_NAME == "lf-infra-lftools-rtd-verify-any" ]]; then + # Install patchset lftools + python3 -m pip install --user -e . +fi + echo "---> Generating docs" cd "$WORKSPACE" tox -edocs