“Jenkins api”的版本间的差异
跳到导航
跳到搜索
第14行: | 第14行: | ||
To restart Jenkins manually, you can use either of the following commands (by entering their URL in a browser): | To restart Jenkins manually, you can use either of the following commands (by entering their URL in a browser): | ||
+ | #安全重启 | ||
(jenkins_url)/safeRestart - Allows all running jobs to complete. New jobs will remain in the queue to run after the restart is complete. | (jenkins_url)/safeRestart - Allows all running jobs to complete. New jobs will remain in the queue to run after the restart is complete. | ||
(jenkins_url)/restart - Forces a restart without waiting for builds to complete. | (jenkins_url)/restart - Forces a restart without waiting for builds to complete. | ||
− | |||
− | |||
=References= | =References= |
2021年10月9日 (六) 11:18的版本
py
Python-jenkins
ruby
jenkins ops
https://stackoverflow.com/questions/8072700/how-to-restart-jenkins-manually
To restart Jenkins manually, you can use either of the following commands (by entering their URL in a browser):
- 安全重启
(jenkins_url)/safeRestart - Allows all running jobs to complete. New jobs will remain in the queue to run after the restart is complete.
(jenkins_url)/restart - Forces a restart without waiting for builds to complete.