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

Rajesh Kumar
Follow me
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x