In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
How do I use the slave schema in jenkins?
When using jenkins, due to the single-node architecture, it can not meet a variety of requirements, such as test environment and production environment, maybe your test environment is a set of environment, another production environment is another set of environment, in order to save nodes, you only need to open a slave node in your previous jenkins environment to configure and use this jenkins-slave to publish your tasks, which is also very convenient for operation and maintenance. This is based on each development environment to achieve, here is only my personal experience, for reference only.
This is divided into one step: open your jenkins, open system management, find node management, and create a new node.
This is the configuration of the added node
Expand your slave node according to the needs of the project. When publishing tasks, you only need to select the tag and use the slave node to publish.
Select the host you synchronize, specify the working directory, select the connection method, and log in through the password to authenticate.
Be sure to install the jdk environment here, because jenkins is written in java, so configure a jdk, configure the environment variables as much as possible, and then deploy docker,maven and other tools according to your online environment requirements, so that you can connect and use them.
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.