summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-09-21 20:31:52 +0200
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-09-21 20:38:43 +0200
commit0d5e2c3560cdaa50a91034d131558182e9588df7 (patch)
treeb2cb211d94e79cfa69538d8253aa8cdc09a9ea12 /jjb
parent9f7616b1e09a5d1aa2828f91c2b6f0e534e7a85f (diff)
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 <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/opnfv/opnfv-docs.yml6
1 files 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: