Hi,
When I try to execute jenkins restart, by using below command
java -jar /usr/local/apache-tomcat-7.0.23/webapps/jenkins/WEB-INF/jenkins-cli.jar -s http://fiespx0311.adinfra.net:9090/jenkins/ restart
I get the below error:
Exception in thread "main" java.io.IOException: Server returned HTTP response code: 503 for URL: http://fiespx0311.adinfra.net:9090/jenkins/cli
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1459)
at hudson.cli.FullDuplexHttpStream.<init>(FullDuplexHttpStream.java:77)
at hudson.cli.CLI.connectViaHttp(CLI.java:156)
at hudson.cli.CLI.<init>(CLI.java:140)
at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:68)
at hudson.cli.CLI._main(CLI.java:439)
at hudson.cli.CLI.main(CLI.java:374)