Console Output
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/jenkins1652758748929205065.sh
+ /data/scripts/release/sunyiwei/publish.py nodeweb.json --mainclass=com.nodeweb.MainApplication '--verid=r854 | 2021-11-07 12:16:50| mazekui | 源码版本:r12724 | 引入pdfjs功能 ' '--json={
"server.port": 8480,
"spring.profiles.active":"prod"
}' --serverlist=
cat /data/publish/sunyiwei/nodeweb/WEB-INF/classes/app.
pid | xargs -r kill
kill: 向 27266 发送信号失败: 没有那个进程
[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 r854
正在升级 '/data/publish/sunyiwei/nodeweb':
版本 854。
[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] 22174
[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