We’re working on utilizing the Jenkins Docker Build and Publish plugin, with a UCP configuration.
Basic question, where we normally would be connecting the $HOST:2376, I want to verify that the same functionality exists. I was assuming it was over the 12376 port, but maybe not. In the end I’m getting a error about ‘no shared cipher’ when trying to connect from jenkins.
Steps tried so far.
- Configure Jenkins job to use the machine port to the swarm 12376 without credentials (results in connection reset, and ‘peer did not return certificate’ on swarm node.
- Generated a client certificate manually (using the docker instructions https://docs.docker.com/engine/articles/https/). I know the certs work, as I can get a ‘Error 400: Bad Request’ using openssl s_client with the certs. However through the jenkins plugin I get a ‘remote error: handshake failure’. In docker I see ‘no shared cipher’ using a SSL3_GET_CLIENT_HELLO. I’m going to try a little later running tshark to examine the logs. (I was also going to submit something to Cloudbees.)