当前位置:网站首页>Deployment of Jenkins under win7
Deployment of Jenkins under win7
2022-07-05 21:14:00 【hunanying】
One 、 Preparation before installation :
1.jdk Installation :
Download address :https://www.oracle.com/cn/java/technologies/javase/javase-jdk8-downloads.html
After downloading the installation package , Follow the prompts to install step by step , There are two installation path choices during the installation process , The first is jdk The installation path , The second, jre The installation path ( If you don't choose the path twice , Then the installation is incorrect )
A、cmd Console , Input Java -version, Don't complain , The version number can be displayed normally
B、cmd Console , Input javac, Don't complain
solve Javac It's not an internal command problem :path Using absolute paths
// Environmental variables involved , have access to echo %JAVA_HOME%\bin; The way in cmd Print above
2.Tomcat Installation ( Follow the instructions to install , See the online saying about configuring environment variables , Currently, there is no online configuration )
Download address :https://tomcat.apache.org/
Two 、jekein install ( Recommended mirroring mis Installation package download , Good continuous integration )
A、 Image download address :http://ftp-chi.osuosl.org/pub/jenkins/windows-stable/2.277.2/jenkins.msi
A、war File download :https://www.jenkins.io/download/
4.Jenkins There are two ways to start : Both in cmd Start in
1、java -jar jenkins.war When the mode is started, it will be generated in the user's directory .Jenkins Directory as the default working directory 【C:\Users\Administrator.jenkins】
2、net start jenkins The working directory for mode startup is jenkins Installation directory jenkins.xml Configuration in progress "JENKINS_HOME" Determined by , Default working directory %BASE% namely Jenkins Installation directory .
5.、Jenkins The closing of the :
Browser input http://localhost:8080/exit, It can be turned off , Starting can also be done in this way
Or use ,net stop jenkins
6Jenkins. Boot failure ( It stops immediately after starting , May be occupied by port – Check the log under the root directory , Baidu found that the port is occupied ):
A、 Use netstat -ano Command to view the process occupying the port
B、 Use taskkill Command delete process , Refer to taskkill /?
边栏推荐
- 【日常训练--腾讯精选50】89. 格雷编码(看题解才会的)
- What are the requirements of UL 2043 test for drive housing in the United States?
- PHP deserialization +md5 collision
- Influence of oscilloscope probe on signal source impedance
- PVC plastic sheets BS 476-6 determination of flame propagation properties
- Get JS of the previous day (timestamp conversion)
- Écrire une interface basée sur flask
- wpf 获取datagrid 中指定行列的DataGridTemplateColumn中的控件
- poj 3414 Pots (bfs+线索)
- 基於flask寫一個接口
猜你喜欢
ArcGIS栅格重采样方法介绍
[case] Application of positioning - Taobao rotation map
Two ways to realize video recording based on avfoundation
How to send samples when applying for BS 476-7 display? Is it the same as the display??
浅聊我和一些编程语言的缘分
Phpstudy Xiaopi's MySQL Click to start and quickly flash back. It has been solved
请查收.NET MAUI 的最新学习资源
让开发效率飞速提升的跨端方案
Introduction of ArcGIS grid resampling method
MySQL deep paging optimization with tens of millions of data, and online failure is rejected!
随机推荐
Add ICO icon to clion MinGW compiled EXE file
序列联配Sequence Alignment
EasyExcel的读写操作
字典树简单入门题(居然是蓝题?)
判断横竖屏的最佳实现
LeetCode_哈希表_困难_149. 直线上最多的点数
XML建模
Which securities company is better and which platform is safer for stock account opening
启牛2980有没有用?开户安全吗、
股票开户选择哪家证券公司比较好哪家平台更安全
Learning robots have no way to start? Let me show you the current hot research directions of robots
The reason why the ncnn converted model on raspberry pie 4B always crashes when called
Enclosed please find. Net Maui's latest learning resources
Selenium gets the verification code image in DOM
Chapter 05_ Storage engine
Dictionary tree simple introductory question (actually blue question?)
Postgres establish connection and delete records
模式-“里氏替换原则”
Simple getting started example of Web Service
概率论机器学习的先验知识(上)