After upgrading from 2.235 to 2.266, the Gerrit Trigger plugin throws a ClassCastException as follows:
The full log is attached.
The Jenkinsfile for this job is at
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.