I am having an intermittent issue with my Hudson instance. It seems that periodically some of my job workspaces will get removed. When this happens my Poll SCM Trigger fails and my job never gets to run again unless I force the job to run. This then rebuilds the workspace. Has anyone seen this issue?
I have my source code repository hosted on a GitLab instance . When a change is pushed, the GitLab instance will fire a webhook that should trigger my Hudson job to run. But if the job's workspace is missing the job does not recognize that the webhook has triggered it to run.
The Git Polling Log shows the below message:
Started on Oct 6, 2015 9:00:33 AM
No workspace is available, so can't check for updates.
Done. Took 4 ms
When looking at the workspace I see the below message:
Error: no workspace
There's no workspace for this job. Possible reasons are:
The job was renamed recently and no build was done under the new name.
The job was moved from another team recently and no build was done under the new team.
The slave this job has run on for the last time was removed.
The workspace directory (null) is removed outside Hudson.
Run a build to have Hudson create a workspace.
Does anyone know why my workspace is getting removed? Shouldn't the Git SCM be able to trigger a build even if there is no existing workspace? Any help is appreciated. Thank you.