aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/jenkins/scripts/pull-all.sh
blob: 6c2560f5c25d2ae96f427dc1adc31f6a85b711cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
while read p; do
    if [ ! -e $p ]; then
	echo $p
	git clone ssh://gerrit.onap.org:29418/$p $p
    else
	pushd $p > /dev/null
	# git fetch
	# git reset --hard origin
	echo -ne "$p:\t"
	git pull
	popd > /dev/null
    fi
done < projects.txt