Console Output
Started by upstream project "tophorse_vipusers_auto" build number 3
originally caused by:
Started by user tophorsekj
Running as SYSTEM
Building in workspace /data/publish/jenkins-data/workspace/tophorse_vipusers_prod
[tophorse_vipusers_prod] $ /bin/sh -xe /data/setupfiles/tomcat7-8058-jdk1.8/temp/jenkins8008103875556654620.sh
+ /data/scripts/release/tophorse/VipUsersSer/publish.py prod.json --releasesvn=https://svn.tophorsekj.net/release/tophorse/VipUsersSer --mainclass=com.tophorse.MainApplication --verid=head '--json={
"server.port": 8480,
"spring.profiles.active":"prod",
"springdoc.swagger-ui.enabled":true,
"app-data.uploadPath":"/data/files/VipUsersSer/",
"app-data.mobilePath":"/data/publish/tophorse/VipUsersUI/"
}' --serverlist= --shutdown=false
svn checkout https://svn.tophorsekj.net/release/tophors
e/VipUsersSer /data/publish/tophorse/VipUsersSer --username publish --password P
ublish123456 --force
U /data/publish/tophorse/VipUsersSer/WEB-INF/classes/com/tophorse/api/controller/CompanyUserApiController.class
U /data/publish/tophorse/VipUsersSer/WEB-INF/classes/mybatis/biz/CompanyUserMapper.xml
取出版本 1751。
[root@VM-0-14-centos ~]#
cat /data/publish/tophorse/VipUsersSer/WEB-INF/classes/
app.pid | xargs -r kill
[root@VM-0-14-centos ~]#
svn cleanup /data/publish/tophorse/VipUsersSer
[root@VM-0-14-centos ~]#
svn update /data/publish/tophorse/VipUsersSer --force -
-accept theirs-full -r head
正在升级 '/data/publish/tophorse/VipUsersSer':
版本 1751。
[root@VM-0-14-centos ~]#
find /data/publish/tophorse/VipUsersSer -name '*.jk1002
'
[root@VM-0-14-centos ~]#
cd /data/publish/tophorse/VipUsersSer/WEB-INF/classes
[root@VM-0-14-centos classes]#
nohup /data/setupfiles/jdk/openjdk14.0.2_x64/bin/
java -Dspring.application.json='{
> "server.port": 8480,
> "spring.profiles.active":"prod",
> "springdoc.swagger-ui.enabled":true,
> "app-data.uploadPath":"/data/files/VipUsersSer/",
> "app-data.mobilePath":"/data/publish/tophorse/VipUsersUI/"
> }' -cp .:../lib/*: com.tophorse.MainApplication >/dev/null 2>nohup.out &
[1] 422
[root@VM-0-14-centos classes]#
tee ./start.sh <<-'EOF'
> cd /data/publish/tophorse/VipUsersSer/WEB-INF/classes/
> cat ./app.pid | xargs -r kill
> nohup /data/setupfiles/jdk/openjdk14.0.2_x64/bin
/java -Dspring.application.jso
n='{
> "server.port": 8480,
> "spring.profiles.active":"prod",
> "spr
ingdoc.swagger-ui.enabled":true,
> "app-data.uploadPath":"/data/files/VipUsersSer/",
> "app-data.mobilePath":"/data/p
ublish/tophorse/VipUsersUI/"
> }' -cp .:../lib/*: com.tophorse.MainApplication >/dev/null 2>nohup.ou
t &
> EOF
cd /data/publish/tophorse/VipUsersSer/WEB-INF/classes/
cat ./app.pid | xargs -r kill
nohup /data/setupfiles/jdk/openjdk14.0.2_x64/bin/java -Dspring.application.json='{
"server.port": 8480,
"spring.profiles.active":"prod",
"springdoc.swagger-ui.enabled":true,
"app-data.uploadPath":"/data/files/VipUsersSer/",
"app-data.mobilePath":"/data/publish/tophorse/VipUsersUI/"
}' -cp .:../lib/*: com.tophorse.MainApplication >/dev/null 2>nohup.out &
[root@VM-0-14-centos classes]#
chmod +x /data/publish/tophorse/VipUsersSer/WEB-I
NF/classes/start.sh
[root@VM-0-14-centos classes]#
Finished: SUCCESS