-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major
-
Component/s: groovy-plugin
-
Environment:Jenkins 2.204.2
vSphere Plugin 2.21
This simple pipeline script causes "java.io.NotSerializableException: org.jenkinsci.plugins.vSphereCloudLauncher" exception (see consoleText in attachments):
import hudson.model.Node pipeline { agent {label 'master'} stages { stage('Defect reproducing stage') { steps { script { List<Node> nodes = jenkins.model.Jenkins.get().nodes; sleep(5); } } } } }