pasupuleti2 created the topic: WorkSpace Cleanup Error
Rajesh,
When I chose “Delete workspace before build starts” option at Build Environment I got below error.
Please let me know how to fix this issue.
[EnvInject] – Loading node environment variables.
Building on master in workspace D:\Jenkins\workspace\TSFW – Bit Bucket
[WS-CLEANUP] Deleting project workspace…
ERROR: [WS-CLEANUP] Cannot delete workspace: D:\Jenkins\workspace\TSFW – Bit Bucket\.git\objects\pack\pack-095203004544c62ca6ea74ab1260f332c46e8c82.idx
ERROR: Cannot delete workspace: D:\Jenkins\workspace\TSFW – Bit Bucket\.git\objects\pack\pack-095203004544c62ca6ea74ab1260f332c46e8c82.idx
Email was triggered for: Failure – Any
Sending email for trigger: Failure – Any
Request made to compress build log
Sending email to:
Finished: FAILURE
rajeshkumar replied the topic: WorkSpace Cleanup Error
Its reported problem with in windows with jenkins. Check following…
1. You Jenkins and git related plugins are up to date.
2. You surely are using gitk.cmd and not git.exe directly. Check what your Jenkins config for Git installs are and that your job is using the one that calls git.exe directly.
3. try to use the git.exe from cmd directory instead of using from bin directory.
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn
I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services — all in one place.
Explore Hospitals