The plugins download fails while building custom Jenkins image through S2I in RHOCP
Issue
-
The plugin download fails while creating a customized Jenkins image through S2I.
-
The builder pod's logs shows the build failure while downloading the plugin/s.
Failed to download plugin: antisamy-markup-formatter or antisamy-markup-formatter-plugin
Failed to install plugins.
error: build error: building at STEP "RUN /usr/libexec/s2i/assemble": while running runtime: exit status 1
- While trying to manually download the Jenkins plugin using curl, the request fails with error
SSL_ERROR_SYSCALL.
# curl -O -L -v https://updates.jenkins.io/download/plugins/antisamy-markup-formatter/159.v25b_c67cd35fb_/antisamy-markup-formatter.hpi
...
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to mirror.bom.albony.in:443
Environment
- Red Hat OpenShift Container Platform (RHOCP) 4
- Jenkins
- S2I
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.