From 0d5e2c3560cdaa50a91034d131558182e9588df7 Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Wed, 21 Sep 2016 20:31:52 +0200 Subject: opnfvdocs: Store colorado.2.0 documents in different location This patch is a workaround until more proper mechanism is put in place. The doc-version parameter is appended to default GS_URL, changing the storage location of the documents from http://artifacts.opnfv.org/sfc/colorado/docs/bradys-cool-document.html to http://artifacts.opnfv.org/sfc/colorado/2.0/docs/bradys-cool-document.html Documents generated from master branch will be stored in same location such as http://artifacts.opnfv.org/sfc/docs/bradys-cool-document.html Change-Id: Ibdd03a0dac14e44160c14fa0130d339c00e0adce Signed-off-by: Fatih Degirmenci --- jjb/opnfv/opnfv-docs.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/jjb/opnfv/opnfv-docs.yml b/jjb/opnfv/opnfv-docs.yml index 743657334..0ac8aa7e0 100644 --- a/jjb/opnfv/opnfv-docs.yml +++ b/jjb/opnfv/opnfv-docs.yml @@ -14,11 +14,13 @@ stream: - master: branch: '{stream}' + doc-version: '' gs-pathname: '' disabled: false - colorado: branch: 'stable/{stream}' - gs-pathname: '/{stream}' + doc-version: '2.0' + gs-pathname: '/{stream}/{doc-version}' disabled: false ######################## @@ -82,7 +84,7 @@ - string: name: GS_URL default: '$GS_BASE{gs-pathname}' - description: "Directory where the build artifact will be located upon the completion of the build." + description: "Directory where the build artifact will be located upon the completion of the build." scm: - gerrit-trigger-scm: -- cgit 1.2.3-korg