Console Output

Started by upstream project "syw_nodeweb_auto" build number 7
originally caused by:
 Started by user tophorsekj
Running as SYSTEM
Building in workspace /data/publish/jenkins-data/workspace/syw_nodeweb
[syw_nodeweb] $ /bin/sh -xe /data/setupfiles/tomcat7-8058-jdk1.8/temp/jenkins1225520442601345919.sh
+ /data/scripts/release/sunyiwei/publish.py nodeweb.json --mainclass=com.nodeweb.MainApplication --verid=head '--json={
  "server.port": 8480,
  "spring.profiles.active":"prod"
}' '--serverlist=jk1002 81.70.135.135 head /data/publish/sunyiwei/nodeweb'
cat /data/publish/sunyiwei/nodeweb/WEB-INF/classes/app. 
pid | xargs -r kill


[root@VM-0-14-centos ~]# 
svn cleanup /data/publish/sunyiwei/nodeweb


[root@VM-0-14-centos ~]# 
svn update /data/publish/sunyiwei/nodeweb --force --acc 
ept theirs-full -r head


正在升级 '/data/publish/sunyiwei/nodeweb':

D    /data/publish/sunyiwei/nodeweb/WEB-INF/lib/mysql-connector-java-8.0.22.jar

A    /data/publish/sunyiwei/nodeweb/WEB-INF/lib/mysql-connector-java-8.0.27.jar

更新到版本 850。

[root@VM-0-14-centos ~]# 
find /data/publish/sunyiwei/nodeweb -name '*.jk1002'


[root@VM-0-14-centos ~]# 
cd /data/publish/sunyiwei/nodeweb/WEB-INF/classes

[root@VM-0-14-centos classes]# 
nohup /data/setupfiles/jdk/jdk1.8.0_161/bin/java  
-Dspring.application.json='{
>   "server.port": 8480,
>   "spring.profiles.active":"prod"
> }' -cp .:../lib/*: com.nodeweb.MainApplication >nohup.out 2>&1 &

[1] 27855
[root@VM-0-14-centos classes]# 
cat nohup.out


nohup: 忽略输入

[root@VM-0-14-centos classes]# 
tee ./start.sh <<-'EOF'
>  cd /data/publish/sunyiwei/nodeweb/WEB-INF/classes/
>  cat ./app.pid | xargs -r kill
> nohup /data/setupfiles/jdk/jdk1.8.0_161/bin/java -Dspring.application.json='{
>   "server.port": 8480,
>   "spring.profiles.active":"prod"
> }' -cp .:../lib/*: com.nodeweb.MainApplication >nohup.out 2>&1 &
> EOF


 cd /data/publish/sunyiwei/nodeweb/WEB-INF/classes/
 cat ./app.pid | xargs -r kill
nohup /data/setupfiles/jdk/jdk1.8.0_161/bin/java -Dspring.application.json='{
  "server.port": 8480,
  "spring.profiles.active":"prod"
}' -cp .:../lib/*: com.nodeweb.MainApplication >nohup.out 2>&1 &
[root@VM-0-14-centos classes]# 
chmod +x /data/publish/sunyiwei/nodeweb/WEB-INF/c 
lasses/start.sh


[root@VM-0-14-centos classes]# 
Finished: SUCCESS