blob: f8831c3560b48c45db0c4ca1c53a1c4b10d246ea (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/bash
function gitclone {
git clone $*
if [ "$?" != 0 ]; then
sleep 1s
git clone $*
if [ "$?" != 0 ]; then
sleep 3s
git clone $*
fi
fi
}
function clientdata_init {
cd clientdata
mkdir shared
echo >shared/error.log
echo ${CI_BUILD_ID} >shared/buildid.log
}
ln -s clientdata client-data
|