File tree 2 files changed +6
-7
lines changed
2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ dist: trusty
4
4
jdk : oraclejdk8
5
5
addons :
6
6
ssh_known_hosts :
7
- - 39.106.81.60 :22008
8
- - 39.106.81.60 :22008
9
- - 39.106.81.60 :22008
7
+ - 39.105.147.203 :22008
8
+ - 39.105.147.203 :22008
9
+ - 39.105.147.203 :22008
10
10
sonarcloud :
11
11
organization : tron-zhaohong
12
12
token :
Original file line number Diff line number Diff line change 2
2
if [[ " $TRAVIS_BRANCH " = " develop" || " $TRAVIS_BRANCH " = " master" ]]; then
3
3
4
4
stestlogname=" ` date +%Y%m%d%H%M%S` _stest.log"
5
- timeout 10 ping -c 5 39.106.81.60 > /dev/null || exit 1
5
+ timeout 10 ping -c 5 39.105.147.203 > /dev/null || exit 1
6
6
7
- stest_server=39.106.81.60
7
+ stest_server=39.105.147.203
8
8
docker_num_in_60=` ssh -p 22008 -t java-tron@$stest_server ' docker ps -a | wc -l' `
9
9
if [[ ${docker_num} -le 2 ]];
10
10
then
@@ -29,8 +29,7 @@ if [[ "$TRAVIS_BRANCH" = "develop" || "$TRAVIS_BRANCH" = "master" ]];then
29
29
echo " stest end"
30
30
31
31
echo $?
32
- # ret=$(cat $stestlogname | grep "stest FAILED" | wc -l)
33
- ret=0
32
+ ret=$( cat $stestlogname | grep " stest FAILED" | wc -l)
34
33
if [ $ret != 0 ]; then
35
34
echo $ret
36
35
rm -f $stestlogname
You can’t perform that action at this time.
0 commit comments