That was it. I'm using an automated install of jenkins and it was 
installing a groovy script where you described. Remaned the script, 
restarted the service and I can now get to the CLI from the dashboard.

Thanks!

On Friday, September 16, 2016 at 10:12:25 PM UTC-4, Daniel Beck wrote:
>
> 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 
> vulnerability. 
>
> > On 16.09.2016, at 11:50, Bob Hansen <hans...@gmail.com <javascript:>> 
> 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: 
> 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 
> > 
> > -- 
> > 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-use...@googlegroups.com <javascript:>. 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/42cfa22e-7971-45d8-9976-2202bc6f5a38%40googlegroups.com.
>  
>
> > 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/aa2f8b62-5eef-480e-9868-a8f1a3436634%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to