Issue When trying to access a SSH credential through a script I am getting a class cast error such as the one below: org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object Environment CloudBees Operations Center CloudBees Jenkins Enterprise Linux Resolution Make sure that the SSH Credential referenced in the error is not stored on both the CloudBees Operations Center instance and the CloudBees Jenkins Enterprise instance