diff options
author | Aric Gardner <agardner@linuxfoundation.org> | 2018-11-07 12:27:11 -0500 |
---|---|---|
committer | Aric Gardner <agardner@linuxfoundation.org> | 2018-11-07 12:27:11 -0500 |
commit | 0da5bdc42a5f8c1b9dfaeba10a8b45fde9b05216 (patch) | |
tree | f7b7e025a24150d2b2eeb465b7841062b6b2da55 /jjb/opnfvdocs | |
parent | 9e42ba29898647aa31b6687a5ca0bac5b2707510 (diff) |
Only trigger docs-verify-rtd-master for opnfvdocs
also remove hacky logic that deletes opnfvdocs clone and then
clones project
Change-Id: I4c0687af6d31b6759e0f6ccf275d968b9d71a7d9
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Diffstat (limited to 'jjb/opnfvdocs')
-rw-r--r-- | jjb/opnfvdocs/docs-rtd.yaml | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/jjb/opnfvdocs/docs-rtd.yaml b/jjb/opnfvdocs/docs-rtd.yaml index b4b85f6a0..a8d29e4b4 100644 --- a/jjb/opnfvdocs/docs-rtd.yaml +++ b/jjb/opnfvdocs/docs-rtd.yaml @@ -79,30 +79,12 @@ triggers: - gerrit-trigger-patchset-created: server: 'gerrit.opnfv.org' - project: '**' + project: 'opnfvdocs' branch: '{branch}' files: 'docs/**' builders: - shell: | - if [ "$GERRIT_PROJECT" != "opnfvdocs" ]; then - # Temporary hacky solution to handle local builds for projects - # that already moved away from submodules - if ! cd docs/submodules/$GERRIT_PROJECT 2 > /dev/null; then - rm -rf .* * 2 > /dev/null - git clone ${{GIT_BASE/opnfvdocs/$GERRIT_PROJECT}} . - fi - git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD - cd - - else - git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD - fi - if [ -d docs/subdmodules ]; then - for project in docs/submodules/*; do - cd $project && git submodule deinit -f . && cd - - done - fi - - shell: | sudo -H pip install virtualenv virtualenv $WORKSPACE/venv . $WORKSPACE/venv/bin/activate |