summaryrefslogtreecommitdiff
path: root/source/repo_update.sh
blob: 99fffab718ce25dfeeff26abf86be4010cb381a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# this will go on the post-receive hooks for repos updated by lorry
set -e

category=lorry

IP=127.0.0.1
port=9999
user=orchestration
passwd=orchestration

echo $1
../orchenv-master/bin/buildbot sendchange -m "$IP":"$port" -a "$user":"$passwd" -W scriptbot -C "$category" -p "repo_name":"$1"