Plugin incompatible with Amazon Linux 2

I’m migrating my Jenkins controller running on platform: Amazon Linux 1 with Jenkins v2.190.3 to Amazon Linux 2.
I’m able to successfully Install Jenkins v2.190.3 on Amazon Linux 2. But the plugins are failing to install on the new platform.

Here are the list of plugins that I’m trying to Install on AL2:

            ant:1.10
            ansicolor:0.5.3
            allure-jenkins-plugin:2.28.1
            codedeploy:1.21
            basic-branch-build-strategies:1.3.2
            build-timeout:1.19
            blueocean:1.21.0
            build-timeout:1.19
            build-timestamp:1.0.3
            cloudbees-credentials:3.3
            clover:4.11.1
            cobertura:1.15
            external-monitor-job:1.7
            github-organization-folder:1.6
            github-pr-coverage-status:2.1.1
            global-variable-string-parameter:1.2
            gradle:1.35
            hipchat:2.2.1
            icon-shim:2.0.3
            javadoc:1.5
            jqs-monitoring:1.4
            ldap:1.21
            metrics:4.0.2.6
            antisamy-markup-formatter:1.6
            pam-auth:1.6
            pegdown-formatter:1.3
            workflow-aggregator:2.6
            pipeline-maven:3.8.2
            pipeline-npm:0.9.2
            role-strategy:2.16
            saferestart:0.3
            saml:1.1.4
            slack:2.35
            ssh-agent:1.17
            subversion:2.13.0
            timestamper:1.19
            windows-slaves:1.5
            ws-cleanup:0.38
            docker-workflow:528.v7c193a_0b_e67c

Is this an issue stemming from incompatibility with the Jenkins version or the Platform itself?

To give an answer we would need to know what is the actual error. Just saying that it fails is not helpful.

But I would consider upgrading to a current LTS Jenkins version. 2.190.3 is now over 5 years old.

Choose another Linux for your installation. Amazon Linux 2 is a derivative of Red Hat Enterprise Linux 7. Red Hat will end its public support of Red Hat Enterprise Linux 7 in June 2024. Amazon will end its support of Amazon Linux 2 in June 2025.

The Jenkins project stopped supporting derivatives of Red Hat Enterprise Linux 7 in November 2023 as announced in a blog post and as warned in an administrative monitor on newer releases of Jenkins.

Amazon Linux 2023 is derived from much newer Linux distributions. Amazon will support it until March 2028. Amazon Linux 2023 delivers Java 17 with Amazon Corretto and is a much better choice if you want an operating system with a longer support life.

1 Like