aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/jenkins.sh
blob: 3bc49f92964761397cc9632df87c6a60c50a93d7 (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 pull origin

git rev-parse HEAD
git status

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