Skip to content

Commit

Permalink
Close_stest_tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzihe committed Nov 29, 2018
1 parent 5884e57 commit 9148d37
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ change_branch_CMD="sed -i '1c branch_name_in_CI=$TRAVIS_BRANCH' /data/workspace/

echo "$TRAVIS_BRANCH"

if [[ "$TRAVIS_BRANCH" = "develop" || "$TRAVIS_BRANCH" = "master" || "$TRAVIS_BRANCH" = "Odyssey_v3.2" ]];then
if [ "$TRAVIS_BRANCH" = "master" ];then
change_branch_CMD="sed -i '1c branch_name_in_CI=Odyssey_v3.2' /data/workspace/docker_workspace/do_stest.sh"
fi
if [[ "$TRAVIS_BRANCH" = "Odyssey_v3.2.1" ]];then
echo "init env"
ssh java-tron@$stest_server -p 22008 $change_branch_CMD
ssh java-tron@$stest_server -p 22008 sh /data/workspace/docker_workspace/do_stest.sh >$stestlogname 2>&1
Expand Down

0 comments on commit 9148d37

Please sign in to comment.