In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains the "jenkins how to deploy spring boot to the remote service designated directory", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "jenkins how to deploy spring boot to the remote service designated directory" bar!
Install jenkins
Https://jenkins.io/zh/doc/
Configure plug-in permissions
Manage Jenkins- > Configure Global Security-> Plugin Manager- > Use browser for metadata download
Configure plug-in
Access path: Jenkins-> Manage Jenkins-> plug-ins Git,maven,Publish over SSH to be installed for pluginManager
SSH Server Name: remote service ip git,maven configuration is not described in detail. Both are related configurations of the server where Jenkins resides.
Publish over SSH (guarantee secret-free login)
SSH Server Name: remote service ip HostName: machine name UserName: user name Reomote Directory: after the remote directory configuration is completed, the test is successful
Set up a maven project
Source Code Management
Set git access address
Builde
Note here that the supported command clean install # Post Steps Note: Source files: original file address. Note the directory structure and the directory where the current command resides: Remove prefix: the target directory needs to be removed, otherwise it will be copied to the remote Remote directory: remote directory Exec command: execute the command with a script: source / etc/profile. This is because the exception "nohup: failed to run command `java': No such file or directory" always occurs when this script is missing.
Thank you for your reading, the above is the content of "how jenkins deploys spring boot to the designated directory of remote services". After the study of this article, I believe you have a deeper understanding of how jenkins deploys spring boot to the designated directory of remote services. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.