Merge "fix conditional with mkdir -p"
This commit is contained in:
commit
d499c80af8
@ -104,10 +104,7 @@
|
||||
builders:
|
||||
- shell: |
|
||||
#!/bin/bash -xe
|
||||
if [[ ! -d "gerrit"]]
|
||||
then
|
||||
mkdir gerrit
|
||||
fi
|
||||
mkdir -p gerrit
|
||||
cd gerrit
|
||||
/usr/local/jenkins/slave_scripts/gerrit-git-prep.sh https://review.openstack.org http://zuul.openstack.org git://git.openstack.org
|
||||
- shell: |
|
||||
@ -146,10 +143,7 @@
|
||||
builders:
|
||||
- shell: |
|
||||
#!/bin/bash -xe
|
||||
if [[ ! -d "gerrit"]]
|
||||
then
|
||||
mkdir gerrit
|
||||
fi
|
||||
mkdir -p gerrit
|
||||
cd gerrit
|
||||
/usr/local/jenkins/slave_scripts/gerrit-git-prep.sh https://review.openstack.org http://zuul.openstack.org git://git.openstack.org
|
||||
- shell: |
|
||||
@ -184,10 +178,7 @@
|
||||
builders:
|
||||
- shell: |
|
||||
#!/bin/bash -xe
|
||||
if [[ ! -d "gerrit"]]
|
||||
then
|
||||
mkdir gerrit
|
||||
fi
|
||||
mkdir -p gerrit
|
||||
cd gerrit
|
||||
/usr/local/jenkins/slave_scripts/gerrit-git-prep.sh https://review.openstack.org http://zuul.openstack.org git://git.openstack.org
|
||||
- shell: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user