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

gerrit-trigger: ClassCastException after upgrading to Jenkins 2.266

XMLWordPrintable

    • 2.86

      After upgrading from 2.235 to 2.266, the Gerrit Trigger plugin throws a ClassCastException as follows:

      java.lang.ClassCastException: class com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger.setTriggerOnEvents() expects class com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.events.PluginGerritEvent but received class org.jenkinsci.plugins.workflow.cps.DSL$NamedArgsAndClosure
       

      The full log is attached.
      The Jenkinsfile for this job is at
      https://github.com/asterisk/asterisk/blob/16/tests/CI/unittests.jenkinsfile

      Unfortunately, downgrading back to 2.235 down't work because there must have been internal changes that make all our jobs disappear.

      Our entire CI process is currently at a standstill but we'd like to avoid taking the drastic action of restoring from backups.

            carroll Carroll Chiou
            gtjoseph George Joseph
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: