InterviewSolution
| 1. |
Which Commands Can Be Used To Start Jenkins Manually? |
|
Answer» There are VARIOUS ways to start and stop Jenkins. We have commands/ plug-ins to achieve the same. Firstly, we can use any one of the below commands to start Jenkins manually using Jenkins URL:
We should always do safeRestart as it waits for running build to complete before restarting Jenkin server. There are other ways as well to start/stop. We can go to Open Console/Command line --> Go to our Jenkins installation directory. The below commands also PRODUCE the same output: to stop: jenkins.exe stop to start: jenkins.exe start to restart: jenkins.exe restart The SafeRestart PLUGIN can also be used. It is pretty USEFUL (Restart Safely). Once you install the plug-in, It adds a link to be able to restart from the main menu only: In Red Hat LINUX you can use below commands as well :
|
|