blob: 1582b270a33077f554b06242794c7b5002770f2f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/bash
export path="bot"
export server="irc.freenode.net"
export channel="#evol-dev"
export nick="evolbuildbot"
export buildid="$(cat clientdata/.shared/buildid.log)"
export msg="Build success. See https://gitlab.com/evol/clientdata/builds/${buildid}"
echo "${msg}"
mkdir ${path}
ii -s ${server} -i ${path} -n ${nick} -f ${nick} &
sleep 5s
echo "/j ${channel}" > "${path}/${server}/in"
sleep 10s
echo ${msg} >${path}/${server}/${channel}/in
sleep 3s
rm -rf clientdata/.shared/buildid.log
killall ii
|