jenkins job 杀掉端口pid
jenkins job
#########################################################333
#!/bin/bash
#set -ex
BUILD_ID=DONTKILLME
ssh dataexa@192.168.1.111 bash /home/dd/jenkins_test/v5Service_11212_restart.sh
137 shell
############################################################
#!/bin/bash
#sed -i 's/^[ ]*//g' /home/dd/jenkins_test/v5Service_11212/config.py
#sed -i 's/ﺕﻰﻟﻯ/"/g' /home/dd/jenkins_test/v5Service_11212/config.py
source /home/dd/anaconda3/bin/activate python3.5
netstat -anp | grep 11212 | awk 'NR==1{print $7}' | cut -d/ -f1 | xargs kill -9
cd /home/dd/jenkins_test/v5Service_11212/
nohup python /home/dd/jenkins_test/v5Service_11212/tornado_service.py > /dev/null 2>&1 &