Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

“Invest in yourself — your confidence is always worth it.”

Explore Cosmetic Hospitals

Start your journey today — compare options in one place.

WorkSpace Cleanup Error

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

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
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.

Related Posts

Automating Jenkins Job Configuration: Job DSL, Multibranch, Job Generator, and JJB

Manually creating many Jenkins jobs is slow and error-prone. This guide compares the main automation options and shows practical jobs-as-code examples for repeatable setup.

Read More

Install Jenkins with Docker: Persistent Setup, Port Mapping, and Logs

Learn how to run Jenkins in Docker with correct port mapping, persistent storage, and operational commands. This updated guide keeps the original workflow but adds modern, production-minded practices.

Read More

Jenkins at Scale: Practical References and Admin Cheatsheet

This revised guide upgrades a short 2015 Jenkins link post into an operations-ready reference for teams running Jenkins at scale. It preserves the original links and adds a workflow diagram, comparison table, and practical API/CLI examples.

Read More

Jenkins Backup and Restore Runbook: ThinBackup, Filesystem Archives, and Recovery Steps

A practical Jenkins backup and restore guide for DevOps teams, covering what to back up, strategy trade-offs, and step-by-step command examples. Includes a workflow diagram and a recovery checklist you can operationalize.

Read More
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
0
Would love your thoughts, please comment.x
()
x