- Learning Continuous Integration with Jenkins(Second Edition)
- Nikhil Pathania
- 114字
- 2021-07-02 21:18:37
Starting, stopping, and restarting Jenkins on Ubuntu
Jenkins by default starts running when installed. Here are the commands to start, stop, restart, and check the status of the Jenkins service:
- To start Jenkins, use the following command:
sudo systemctl start jenkins
- Similarly, to stop Jenkins, use the following command:
sudo systemctl stop jenkins
- To restart Jenkins, use the following command:
sudo systemctl restart jenkins
- To check the status of the Jenkins service, use the following systemctl command:
sudo systemctl status jenkins
- You should see the following output:
● jenkins.service - LSB: Start Jenkins at boot time Loaded: loaded (/etc/init.d/jenkins; bad; vendor preset: enabled) Active: active (exited) since Wed 2017-07-19 22:34:39 UTC; 6min ago Docs: man:systemd-sysv-generator(8)
推薦閱讀
- 電腦組裝與系統安裝
- Linux系統架構與運維實戰
- Linux運維實戰:CentOS7.6操作系統從入門到精通
- Linux內核完全注釋(20周年版·第2版)
- Linux從零開始學(視頻教學版)
- Haskell Financial Data Modeling and Predictive Analytics
- 精解Windows8
- Java EE 8 Design Patterns and Best Practices
- Ceph分布式存儲實戰
- 分布式系統設計實踐
- Learn SwiftUI
- Multi-Cloud for Architects
- iOS 10快速開發:18天零基礎開發一個商業應用
- OpenStack Essentials(Second Edition)
- Less Web Development Essentials