From b73fe23823d3f6b93b1ade0f422c9cb346132b3d Mon Sep 17 00:00:00 2001 From: Nikhil Manchanda Date: Sat, 24 May 2014 01:13:43 -0700 Subject: [PATCH] Fix experimental trove-buildimage-mysql job Fixed the experimental trove-buildimage-mysql job so that: - The /opt/stack directory exists and is writeable by the user - The console logs are published on completion Change-Id: I98b87fe9ba11c01ad5e26b4a349e15bf0bbc1856 --- .../files/jenkins_job_builder/config/trove-images.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/openstack_project/files/jenkins_job_builder/config/trove-images.yaml b/modules/openstack_project/files/jenkins_job_builder/config/trove-images.yaml index e8c3968479..851e4fc6bd 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/trove-images.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/trove-images.yaml @@ -8,6 +8,8 @@ - gerrit-git-prep - shell: | #!/bin/bash -xe + sudo mkdir -p /opt/stack + sudo chown $(whoami) /opt/stack export DEST=/opt/stack cd scripts ./redstack build-image mysql @@ -21,3 +23,4 @@ target: 'trove/images/ubuntu_mysql.qcow2' keep-hierarchy: false copy-after-failure: false + - console-log \ No newline at end of file