I am attempting to use a pipeline build triggered by github webhooks along with the kubernetes plugin. I am seeing the following error in all of my poll logs:
[poll] Latest remote head revision on refs/heads/master is: f4065637e80be6789d6d16c59ceee2cfde7b7ba9 - already built by 5
ERROR: no such computer jenkins-slave-s10fr-lj69d
Done. Took 0.58 sec No changes
Looking at the plugin code there is a cache of what the workspace node has been in the past:
Here is the line of code where the error is originating from:
Note that a workspace is required for the poll due to my use of "Additional Behaviors -> Polling ignores commits in certain paths"
Assuming that a computer is available is an invalid assumption in the cloud where nodes are ephemeral. I haven't yet come up with a work-around for this issue, so I am currently blocked.
Thank you for your help!