butler icon indicating copy to clipboard operation
butler copied to clipboard

Utility forces http (no SSL support?)

Open mtdeguzis opened this issue 6 years ago • 6 comments

Description

Jenkins can and should be run over SSL/https. This utility does not allow you to specify https. Does it handle the protocol?

./butler jobs export --server https://myhost:port--username mtdeguzis --password $(read -s password && echo $password)

Get http://https//myhost:port/view/all/api/xml: dial tcp: lookup https on *************:53: no such host

Related Issue

Changes proposed

Screenshots

mtdeguzis avatar Jun 15 '18 20:06 mtdeguzis

Agreed, having the same problem.

kcwhite avatar Aug 10 '18 19:08 kcwhite

Ended up writing my own for the time being that targets any cluster Jenkins node, can remove/disable/enable a job on either side.

mtdeguzis avatar Aug 12 '18 19:08 mtdeguzis

Nice. Are you able to share the code?

kcwhite avatar Aug 13 '18 16:08 kcwhite

I'll see if I can get it approved

mtdeguzis avatar Aug 13 '18 18:08 mtdeguzis

This would be solved in #6.

icereed avatar Nov 14 '18 10:11 icereed

is there any way to pass nocertificatecheck parameter ,since our Jenkins uses self signed when i run butler command it says "Get https://xxxxxx8443/api/xml: x509: certificate signed by unknown authority"

sunkarakamal avatar Dec 10 '18 14:12 sunkarakamal