closing jenkins service on localhost code example Example: command to run jenkins war file java -jar jenkins.war