- 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運維實戰(zhàn):CentOS7.6操作系統(tǒng)從入門到精通
- 無蘋果不生活 OS X Mountain Lion隨身寶典
- 新手易學:系統(tǒng)安裝與重裝
- Ganglia系統(tǒng)監(jiān)控
- Ubuntu Linux操作系統(tǒng)
- 直播系統(tǒng)開發(fā):基于Nginx與Nginx-rtmp-module
- 嵌入式實時操作系統(tǒng):RT-Thread設(shè)計與實現(xiàn)
- Windows 7案例教程
- Android物聯(lián)網(wǎng)開發(fā)細致入門與最佳實踐
- 跟老男孩學Linux運維:Shell編程實戰(zhàn)
- μC/OS-III內(nèi)核實現(xiàn)與應(yīng)用開發(fā)實戰(zhàn)指南:基于STM32
- Windows Server 2008組網(wǎng)技術(shù)與實訓(第3版)
- iOS 10快速開發(fā):18天零基礎(chǔ)開發(fā)一個商業(yè)應(yīng)用
- Linux內(nèi)核分析及應(yīng)用
- Windows網(wǎng)絡(luò)編程(第2版)