当前位置:网站首页>Jenkins remote publishing products
Jenkins remote publishing products
2022-06-24 11:17:00 【Chen Bucheng I】
One . brief introduction
WEB Services rarely Jenkins The server is on the same machine , Therefore, you need to package the constructed products , Distribute to remote server for deployment .
Two . Realization
The plugin name :Publish over SSH effect : Used to compile and pass ssh Publish to remote server plug-in
Reflect in the system settings The following appears on the last side , Passphrase An output password , The following machines use the following passwords Click the add button , Installation is as shown in the figure name ,ip, Login account , Which directory appears after login , If you have any 2 The password of each machine is different. Click advanced to add
Click add post build operation , Add a new one Publish over SSH
SSH Server part Name Is the name of the published host , It should correspond to the configuration management options
Source files Select the packaged file , Here for book.tar.gz, Because it is under the working directory ,/var/lib/jenkins/workspace/jenkins Of job name /, If it is somewhere else to write the absolute path
Remove prefix: Remove Directory ( Only... Can be specified Source files In the directory ), It means to remove the prefix of the absolute path , Only move the back book.tar.gz
Remote directory Choose which directory to send to , This is relative to the default directory set in the configuration management selection .( Default /root)
Exec command yes shell Script , Generally, the remote transmission is completed , To start
边栏推荐
- RPM installation percona5.7.34
- [activities this Saturday] NET Day in China
- Qt: judge whether the string is in numeric format
- [深度学习][pytorch][原创]crnn在高版本pytorch上训练loss为nan解决办法
- Can text pictures be converted to word? How to extract text from pictures
- Moving Tencent to the cloud cured their technical anxiety
- 喜欢就去行动
- Extremenet: target detection through poles, more detailed target area | CVPR 2019
- MYSQL_精讲数据库数据类型
- Example of PHP observer mode [useful in the laravel framework]
猜你喜欢
随机推荐
Apple's legendary design team disbanded after jobs refused to obey cook
历史上的今天:图灵诞生日;互联网奠基人出生;Reddit 上线
齐次坐标的理解
Many of my friends asked me what books and online classes I recommended. This time, I contributed all the materials that I had been hiding for a long time (Part 1)
A fault record of misoperation dhclient script
[Qianfan 618 countdown!] IAAs operation and maintenance special preferential activities
Preparation for a series of courses on WordPress applet generation
程序员大部分时间不是写代码,而是。。。
[深度学习][pytorch][原创]crnn在高版本pytorch上训练loss为nan解决办法
How to open a video number?
Why does the virtual machine Ping the host but not the virtual machine
Oxylabs live online: website capture demo
“一次编写,运行各端”,高通重磅发布 AI 软件栈!
PHP短信通知+语音播报自动双呼
Concise tutorial | making cartoon heat map with PPT - EFP graph?!
09. Tencent cloud IOT device side learning -- RRPC and behavior
Which is a good CAD drawing software? How to select good software
Today's sleep quality record 76 points
[net action!] Cos data escort helps SMEs avoid content security risks!
[deep learning][pytorch][original]crnn trains loss on the higher version of pytorch as a solution for Nan







