Actually create $BASE/new dir and set perms.
Need to run with root privs to create dirs under /opt. Then chown the new dir under /opt to jenkins:jenkins so that the jenkins user can write to that dir. Change-Id: I1f3bc2226b0965a0d530a7a6070bdad5e0d84618
This commit is contained in:
@@ -163,7 +163,8 @@ function reboot_devstack_gate {
|
||||
|
||||
fix_disk_layout
|
||||
|
||||
mkdir -p $BASE/new
|
||||
sudo mkdir -p $BASE/new
|
||||
sudo chown -R jenkins:jenkins $BASE/new
|
||||
cd $BASE/new
|
||||
setup_project openstack-infra/devstack-gate master
|
||||
exec $GATE_SCRIPT_DIR/devstack-vm-gate-wrap.sh
|
||||
|
||||
Reference in New Issue
Block a user