1. Scene
Jenkins one click deployment has not been installed under Linux.
2. Operation process
① Manual upload.
② Delete history code.
③ Unzip the war package.
④ Delete the war package.
⑤ Restart Tomcat.
⑥ Show logs.
3. Process disassembly
1) Use the RZ command to upload the war package.
2) Use the following command to complete the rest of the work in one go. Note: the last line is reserved for carriage return and line feed to ensure that the command will be executed.
cd /opt/codes/portal-system
rm -rf META-INF
rm -rf WEB-INF
rm -rf importDataModel.xlsx
unzip portal-system-1.0.0. RELEASE.war
rm -rf portal-system-1.0.0. RELEASE.war
/opt/server/tomcat_ portal_ system/bin/ restart.sh
3) restart.sh Please refer to the previous blog post for the script.
4. Incremental design scheme
cd /opt/codes/portal-system/WEB-INF/classes
rz
rm -r com
unzip com.zip
rm -rf com.zip
/opt/server/tomcat_ portal_ system/bin/ restart.sh
#tail -f /opt/server/tomcat_ portal_ system/logs/ info.log
Read More:
- [Transfer] mdt wds deployment windows Litetouch deployment failed, Return Code = -2147467259 0x80004005 solution…
- Jenkins series installation and deployment in docker mode
- Troubleshooting of Jenkins upgrade to 2.42 JUnit test report
- Bitmap optimization and memory optimization
- mdt wds deployment windows Litetouch deployment failed, Return Code = -2147467259 0x80004005
- The deployment of etcd storage and flannel network configuration for kubernetes / k8s multi node deployment
- Jenkins reported an error modulenotfounderror: no module named filename solution
- Solution to a Jenkins serious error recorded by automation platform
- Android listview entry button click state chaos solution
- After using fastlick, double-click the error reporting solution
- Win10 installation git click git bash flash back problem solution
- Click the button to use in the react project window.open Methods open a new page and click the data again
- Location and optimization of server IO high problem
- Optimization method of vs2017 starting speed
- Yapi platform deployment error (MAC must report error) solution
- Eclipse automatic prompt setting method and optimization
- Start gzip in node environment of project optimization
- Myeclipse10: one step error report solution for cracking replacejar
- Alpine Linux executable file crash report error / lib / x86 not found_ 64 Linux GNU / libc.so solution
- Jenkins appears error: error cloning remote repo ‘origin solution (set global tool configuration)