I'm trying to set up a jenkins instance in a docker container (which generally has been nice to work with) and I'm having a hard time downloading plugins. I don't remember seeing this issue before the last few hours.
The basic issue seems to be timeouts while downloading plugins. Sometimes it's able to download a few plugins before dying. E.g.
Step 3 : RUN /usr/local/bin/plugins.sh /usr/share/jenkins/plugins.txt
---> Running in d11768c365c5
Downloading hipchat:1.0.0
Downloading workflow-step-api:1.11
Downloading github:1.18.1
Downloading git-client:1.18.0
Downloading scm-api:0.2
Downloading git:2.4.0
Downloading github-api:1.69
curl: (7) Failed to connect to updates.jenkins-ci.org port 443: Connection timed out
The command '/bin/sh -c /usr/local/bin/plugins.sh /usr/share/jenkins/plugins.txt' returned a non-zero code: 7