Status: Resolved (View Workflow)
Resolution: Not A Defect
Environment:OS: Linux 3.14.34-27.48.amzn1.x86_64
Java: 1.7.0_85 (OpenJDK Runtime Environment)
Jenkins: 2.32.2 (Installed via yum)
Multi-Branch Project Plugin: 0.5.1
Lockable Resources Plugin: 1.11.1
GitHub Branch Source Plugin: 2.0.3
GitHub plugin: 1.26.0
We have a multi-branch pipeline setup with our repo in GitHub. Since yesterday, we started noticing that new branches created in GitHub were not passing the build because, of the three directories that get created for the build, the @script dir has the sources, the @tmp is also present but the actual workspace directory is just empty. So, in our case,
DebugTool-SomeRandomNum directory is just empty
DebugTool-SomeRandomNum@script dirctory has the sources
This started happening yesterday. For the other 4 branches (that we already had in GitHub when setting up the multi-branch pipeline), I see that the both the workspace and workspace@script dir have sources in them.
For now, I have a rather crude way of getting around this
I have attached the console log from the failed build (sanitized to remove actual GitHub URL info).
It says that its "Running on master in /var/lib/jenkins/workspace/ZULUSCHED_DebugTool-6RUZGOFIV76HNXGYFRPCOHJUYYIS5YA2O7JZQWZG2RYSCS4XFCJQ"
but then that directory is just empty