Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Post History

60%
+1 −0
Q&A Jenkins failed to delete a file - why? How to prevent?

I don't know how to prove or discover this, but anyway. This error happens when Jenkins job is interrupted while the P4 plugin is doing what it calls "reconcile". A "reconcile" is a special form o...

posted 1y ago by anatolyg‭  ·  edited 1y ago by anatolyg‭

Answer
#2: Post edited by user avatar anatolyg‭ · 2022-09-13T09:04:56Z (over 1 year ago)
  • I don't know how to prove or discover this, but anyway.
  • This error happens when Jenkins job is interrupted while the P4 plugin is doing what it calls "reconcile". A "reconcile" is a special form of downloading, which is supposed to do it faster and/or more cleanly.
  • P4 plugin has several bugs related to "reconcile": [1](https://issues.jenkins.io/browse/JENKINS-60430), [2](https://issues.jenkins.io/browse/JENKINS-60447). They are probably not going to be fixed. A workaround is to never do "reconcile" but to delete all files and download them by force. The job settings-page calls this "Force Clean and Sync … (Inefficient and NOT RECOMENDED)".
  • I don't know how to prove or discover this, but anyway.
  • This error happens when Jenkins job is interrupted while the P4 plugin is doing what it calls "reconcile". A "reconcile" is a special form of downloading, which is supposed to do it faster and/or more cleanly.
  • P4 plugin has several bugs related to "reconcile": [1](https://issues.jenkins.io/browse/JENKINS-60430), [2](https://issues.jenkins.io/browse/JENKINS-60447). They are probably not going to be fixed. A workaround is to never do "reconcile" but to delete all files and download them by force. The job settings-page calls this "Force Clean and Sync … (Inefficient and NOT RECOMENDED)".
  • Either that or "never stop any running job" as a policy. The latter is unintuitive and hard to enforce; in our case, some compound jobs are configured to stop all sub-jobs if one of them fails.
#1: Initial revision by user avatar anatolyg‭ · 2022-09-13T09:02:53Z (over 1 year ago)
I don't know how to prove or discover this, but anyway.

This error happens when Jenkins job is interrupted while the P4 plugin is doing what it calls "reconcile". A "reconcile" is a special form of downloading, which is supposed to do it faster and/or more cleanly.

P4 plugin has several bugs related to "reconcile": [1](https://issues.jenkins.io/browse/JENKINS-60430), [2](https://issues.jenkins.io/browse/JENKINS-60447). They are probably not going to be fixed. A workaround is to never do "reconcile" but to delete all files and download them by force. The job settings-page calls this "Force Clean and Sync … (Inefficient and NOT RECOMENDED)".