Been trying use the jenkins cli to programmatically set builds to unstable from failed based on conditions that I will find in various log files related to the project I'm working on.
One of the recommendations is to use the jenkkns_cli to set it via the jenkins_cli, however if I do this:
java -jar jenkins-cli.jar -noCertificateCheck
https://my_jenkins_server help
What gets returned is a FileNotFoundException:
Suppressed: java.io.FileNotFoundException:
https://zvm-os-jenkins.pokprv.stglabs.ibm.com/cli/ at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1626)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
at hudson.cli.FullDuplexHttpStream.<init>(FullDuplexHttpStream.java:78)
at hudson.cli.CLI.connectViaHttp(CLI.java:158)
at hudson.cli.CLI.<init>(CLI.java:132)
If I use manage jenkins from the jenkins dashboard and click jenkins cli, I get a simliar thing;
HTTP ERROR 404 Problem accessing /cli/. Reason: Not Found
What am I missing? I have this issue with two jenkins servers. Is there something I need to install/enable that I'm missing? Searches find nothing.
Server 1: Ubuntu 14.04,3 Jenkins version 1.642.1
Server 2: Ubuntu: 14.04.5 Jenkins Version: 1.651.2
Bob Hansen