aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/jenkins.sh
blob: b1612306b545660483742461a1ddf815f10f25c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
set -e -x

cd ~/osmo-ci || (cd ~/ && git clone git://git.osmocom.org/osmo-ci && cd ~/osmo-ci)
git rev-parse HEAD
git status

git fetch && git checkout -f -B master origin/master

git rev-parse HEAD
git status

if [ `uname` = "Linux" ]; then
 cd docker
 ./rebuild_osmocom_jenkins_image.sh
fi