Make sure you don't have an init.groovy[.d] in JENKINS_HOME that disables the
CLI; we recommended doing that last November as workaround for a 0-day
> On 16.09.2016, at 11:50, Bob Hansen <hansen...@gmail.com> wrote:
> 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:
> 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
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.