summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkalyanreddy <reddyx.gundarapu@intel.com>2017-02-08 15:54:48 +0530
committerkalyanreddy <reddyx.gundarapu@intel.com>2017-02-08 15:54:48 +0530
commitcc49a731f97fa072196a9609d9e5e880bb2fc06c (patch)
treee1b5b187d75afe1ba067f5d5ece6b9bae6f3e62f
parent1864af28277523c7f202d828e65e7b8bca3fc5d5 (diff)
KVMFORNFV: Uploading logs to artifacts.
This patch includes script updates/corrections to upload the artifacts based on Job type and phase. Change-Id: I817f9a0cc9a2850759743a72f0db7d2c342360f1 Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
-rwxr-xr-xjjb/kvmfornfv/kvmfornfv-upload-artifact.sh2
-rw-r--r--jjb/kvmfornfv/kvmfornfv.yml4
2 files changed, 5 insertions, 1 deletions
diff --git a/jjb/kvmfornfv/kvmfornfv-upload-artifact.sh b/jjb/kvmfornfv/kvmfornfv-upload-artifact.sh
index c6b8005c3..56fb4f9c1 100755
--- a/jjb/kvmfornfv/kvmfornfv-upload-artifact.sh
+++ b/jjb/kvmfornfv/kvmfornfv-upload-artifact.sh
@@ -21,7 +21,7 @@ case "$JOB_TYPE" in
echo "Uploading daily artifacts This could take some time..."
OPNFV_ARTIFACT_VERSION=$(date -u +"%Y-%m-%d_%H-%M-%S")
GS_UPLOAD_LOCATION="gs://$GS_URL/$OPNFV_ARTIFACT_VERSION"
- GS_LOG_LOCATION="gs://$GS_URL/logs-$(date -u +"%Y-%m-%d")/
+ GS_LOG_LOCATION="gs://$GS_URL/logs-$(date -u +"%Y-%m-%d")"/
;;
*)
echo "Artifact upload is not enabled for $JOB_TYPE jobs"
diff --git a/jjb/kvmfornfv/kvmfornfv.yml b/jjb/kvmfornfv/kvmfornfv.yml
index 522e9716b..a782ee0fa 100644
--- a/jjb/kvmfornfv/kvmfornfv.yml
+++ b/jjb/kvmfornfv/kvmfornfv.yml
@@ -131,6 +131,10 @@
- '{slave-label}-defaults'
- 'kvmfornfv-defaults':
gs-pathname: '{gs-pathname}'
+ - string:
+ name: PHASE
+ default: '{phase}'
+ description: "Execution of kvmfornfv daily '{phase}' job ."
builders:
- description-setter: