-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
Google Cloud Kubernetes Environment
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!
[JENKINS-46468] "no such computer" error occurs during SCM Pulling
Priority | Original: Blocker [ 1 ] | New: Major [ 3 ] |
Issue Type | Original: Bug [ 1 ] | New: Improvement [ 4 ] |
Priority | Original: Major [ 3 ] | New: Minor [ 4 ] |
Yeah, when you choose an option that requires a workspace (i.e., the "Polling ignores commits in certain paths"), you're stuck needing a workspace, strangely enough. =) In freestyle-land, when this scenario is encountered, a new build will get kicked off to get a new workspace to poll in, but I guess that's not happening for Pipeline (and I'm not sure we'd want it to happen for Pipeline - I'd like to avoid spamming builds in these sorts of situations). I don't have a quick answer for this, but I'll think on it.