From 6eb3b4b5ba6a42edd40c2766452a4ed9f5ad4796 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Mon, 5 Jun 2017 16:06:21 -0400 Subject: [PATCH] Archive the docs html directory This patch using the new lf-infra-publisher ensures that docs only archives the html directory rather than including the structure leading to the directory. Change-Id: Ie2ff63690203ea7023f2578d4f52719f9d386a52 Signed-off-by: Thanh Ha --- jjb/docs/docs-rtd.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/jjb/docs/docs-rtd.yaml b/jjb/docs/docs-rtd.yaml index b87ddfec3c..aafbeb3b46 100644 --- a/jjb/docs/docs-rtd.yaml +++ b/jjb/docs/docs-rtd.yaml @@ -18,7 +18,7 @@ project: docs project-name: docs rtdproject: opendaylight - archive-artifacts: 'docs/_build/html/**' + archive-artifacts: '' - job-template: name: 'docs-merge-rtd-{stream}' @@ -121,6 +121,10 @@ $PYTHON -m pip install tox tox -edocs + # Archive generated docs + mkdir -p "$WORKSPACE/archives" + mv docs/_build/html archives/ + publishers: - email-notification: email-recipients: '{email-recipients}' -- 2.36.6