Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-49083

RabbitMQ Plugins broken by JEP-200

    XMLWordPrintable

Details

    Description

      After updating to 2.103

      Plugins involved:
      rabbitmq-build-trigger 2.5 true
      rabbitmq-consumer 2.7 true

      Message at the Manage Jenkins link:

      org.jenkinsci.plugins.rabbitmqconsumer.GlobalRabbitmqConfiguration

      RabbitMQ consumer

      ConversionException: Refusing to unmarshal urlValidator for security reasons; see https://jenkins.io/redirect/class-filter/ ---- Debugging information ---- class : org.apache.commons.validator.routines.UrlValidator required-type : org.apache.commons.validator.routines.UrlValidator converter-type : hudson.util.XStream2$BlacklistedTypesConverter path : /org.jenkinsci.plugins.rabbitmqconsumer.GlobalRabbitmqConfiguration/urlValidator line number : 3 -------------------------------

      Attachments

        Issue Links

          Activity

            oleg_nenashev Oleg Nenashev added a comment -

            Please provide a full stacktrace

            oleg_nenashev Oleg Nenashev added a comment - Please provide a full stacktrace
            oleg_nenashev Oleg Nenashev added a comment -

            I tried to reproduce the issue in Plugin Compat Tester, no failures in existing tests

            oleg_nenashev Oleg Nenashev added a comment - I tried to reproduce the issue in Plugin Compat Tester, no failures in existing tests
            oleg_nenashev Oleg Nenashev added a comment -

            I see the issue though

            oleg_nenashev Oleg Nenashev added a comment - I see the issue though
            oleg_nenashev Oleg Nenashev added a comment - Created https://github.com/jenkinsci/rabbitmq-consumer-plugin/pull/4
            oleg_nenashev Oleg Nenashev added a comment -

            I do not see obvious issues in RabbitMQ Trigger though I didn't dig deep

            oleg_nenashev Oleg Nenashev added a comment - I do not see obvious issues in RabbitMQ Trigger though I didn't dig deep
            dabev1 Pat Bevak added a comment -

            That could be. I see them as going together, I wasn't sure which one the issue was in.

            dabev1 Pat Bevak added a comment - That could be. I see them as going together, I wasn't sure which one the issue was in.
            oleg_nenashev Oleg Nenashev added a comment -

            dabev1 would you be able to verify the proposed PR on your instance?

            oleg_nenashev Oleg Nenashev added a comment - dabev1 would you be able to verify the proposed PR on your instance?
            dabev1 Pat Bevak added a comment -

            Yes, I cloned, pull in your source, built the plugin (skipping javadoc since it had errors), installed plugin and it works. The consumer now will disappear and reappear based on my global configuration toggle for the consumer. Thanks for the quick fix!

            dabev1 Pat Bevak added a comment - Yes, I cloned, pull in your source, built the plugin (skipping javadoc since it had errors), installed plugin and it works. The consumer now will disappear and reappear based on my global configuration toggle for the consumer. Thanks for the quick fix!

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            pom.xml
            http://jenkins-ci.org/commit/rabbitmq-consumer-plugin/96e0b0900d90ab93e982364eebecaca18f55b97c
            Log:
            JENKINS-49083 - Make the plugin buildable in PCT

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: pom.xml http://jenkins-ci.org/commit/rabbitmq-consumer-plugin/96e0b0900d90ab93e982364eebecaca18f55b97c Log: JENKINS-49083 - Make the plugin buildable in PCT

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            src/test/java/org/jenkinsci/plugins/rabbitmqconsumer/GlobalRabbitmqConfigurationTest.java
            http://jenkins-ci.org/commit/rabbitmq-consumer-plugin/e8cb4055e80d24f04fdb8c073cb5465cc5a7622b
            Log:
            JENKINS-49083 - Add a config roundtrip test

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/test/java/org/jenkinsci/plugins/rabbitmqconsumer/GlobalRabbitmqConfigurationTest.java http://jenkins-ci.org/commit/rabbitmq-consumer-plugin/e8cb4055e80d24f04fdb8c073cb5465cc5a7622b Log: JENKINS-49083 - Add a config roundtrip test

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            Jenkinsfile
            http://jenkins-ci.org/commit/rabbitmq-consumer-plugin/dd40d9a37f4c9af8035e0e4ef98d7a6dbf37924a
            Log:
            JENKINS-49083 - Add Jenkinsfile

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: Jenkinsfile http://jenkins-ci.org/commit/rabbitmq-consumer-plugin/dd40d9a37f4c9af8035e0e4ef98d7a6dbf37924a Log: JENKINS-49083 - Add Jenkinsfile

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            src/main/java/org/jenkinsci/plugins/rabbitmqconsumer/GlobalRabbitmqConfiguration.java
            http://jenkins-ci.org/commit/rabbitmq-consumer-plugin/ac82aab58f44e9f90f872249bdde2c9468dcfcfe
            Log:
            JENKINS-49083 - make URL Validator a static field.

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/org/jenkinsci/plugins/rabbitmqconsumer/GlobalRabbitmqConfiguration.java http://jenkins-ci.org/commit/rabbitmq-consumer-plugin/ac82aab58f44e9f90f872249bdde2c9468dcfcfe Log: JENKINS-49083 - make URL Validator a static field.

            Code changed in jenkins
            User: rin_ne
            Path:
            Jenkinsfile
            pom.xml
            src/main/java/org/jenkinsci/plugins/rabbitmqconsumer/GlobalRabbitmqConfiguration.java
            src/main/java/org/jenkinsci/plugins/rabbitmqconsumer/extensions/ServerOperator.java
            src/test/java/org/jenkinsci/plugins/rabbitmqconsumer/GlobalRabbitmqConfigurationTest.java
            http://jenkins-ci.org/commit/rabbitmq-consumer-plugin/cf6a6abf0312c2564af3da55ecfc193bfc449835
            Log:
            Merge pull request #4 from oleg-nenashev/JENKINS-49083-jep-200

            JENKINS-49083 - Make the plugin compatible with Jenkins 2.102+

            Compare: https://github.com/jenkinsci/rabbitmq-consumer-plugin/compare/a4e6ff2e1fc7...cf6a6abf0312

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: rin_ne Path: Jenkinsfile pom.xml src/main/java/org/jenkinsci/plugins/rabbitmqconsumer/GlobalRabbitmqConfiguration.java src/main/java/org/jenkinsci/plugins/rabbitmqconsumer/extensions/ServerOperator.java src/test/java/org/jenkinsci/plugins/rabbitmqconsumer/GlobalRabbitmqConfigurationTest.java http://jenkins-ci.org/commit/rabbitmq-consumer-plugin/cf6a6abf0312c2564af3da55ecfc193bfc449835 Log: Merge pull request #4 from oleg-nenashev/ JENKINS-49083 -jep-200 JENKINS-49083 - Make the plugin compatible with Jenkins 2.102+ Compare: https://github.com/jenkinsci/rabbitmq-consumer-plugin/compare/a4e6ff2e1fc7...cf6a6abf0312
            oleg_nenashev Oleg Nenashev added a comment -

            It has been released in 2.8

            oleg_nenashev Oleg Nenashev added a comment - It has been released in 2.8

            People

              oleg_nenashev Oleg Nenashev
              dabev1 Pat Bevak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: