“Jenkins api”的版本间的差异
跳到导航
跳到搜索
第6行: | 第6行: | ||
[[Learn ruby#Ruby API wrappers]] | [[Learn ruby#Ruby API wrappers]] | ||
+ | |||
+ | |||
+ | =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. | ||
+ | |||
+ | |||
=References= | =References= |
2021年10月9日 (六) 11:17的版本
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.