The plugins download fails while building custom Jenkins image through S2I in RHOCP

Solution Verified - Updated -

Issue

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content