Store link for Jenkins build logs in CI version metadata

So this is a very easy addition on this end, the problem is that right
now logs are only collected for two weeks before being removed. Not to
mention this link won't work until the build is done. So there are a
couple of ways someone could click this link and get a 404.

I'll talk to weshay about getting longer term log storage.

Change-Id: I01fa5ea4b2560d918b82f9d12990d63fbe379f3e
This commit is contained in:
jkilpatr 2017-05-16 13:05:00 -04:00 committed by Justin Kilpatrick
parent a2cb8300f2
commit 74f0544123
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@
"osp_series": "{{series}}",
"osp_version": "{{version}}",
"dlrn_hash": "{{dlrn_hash}}",
"logs_link": "{{logs_link}}",
"rhos_puddle": "{{rhos_puddle}}",
"osp_deployment_installer": "oooq",
"build": "{{build.stdout}}",

View File

@ -1,2 +1,3 @@
dlrn_hash: "Not a pipeline build"
rhos_puddle: "Not a pipeline build"
logs_link: "https://thirdparty-logs.rdoproject.org/{{ lookup('env','JOB_NAME') }}-{{ lookup('env','BUILD_NUMBER') }}/"