jenkinsci / jenkinsci/gerrit-trigger-plugin
[JENKINS-36447] builds aborted during the git sync will corrupt the local git store
- Dominant language
- Java
- Stars
- 226
- Forks
- 289
- PR merge metrics
- No merged PRs in 30d
Description
With jenkins set to abort patch sets when superceded,in some occasions when a modification on patch set is triggered and canceled a build in the git sync can corrupt the local workspace.
Repos size could indeed be a factor. Typical sync time is around 6m for this repos.
---
Originally reported by
ifernandezcalvo, imported from: builds aborted during the git sync will corrupt the local git store
rsandell
Raw content of original issue
With jenkins set to abort patch sets when superceded,in some occasions when a modification on patch set is triggered and canceled a build in the git sync can corrupt the local workspace.
Repos size could indeed be a factor. Typical sync time is around 6m for this repos.
environment
```
Jenkins ver. 1.609.15.1
Gerrit Trigger 2.14.0
Gerrit Code Review 2.12.2
```
Contributor guide
Research direction
Start by reproducing a canceled build during the git sync described for Jenkins 1.609.15.1, Gerrit Trigger 2.14.0, and Gerrit Code Review 2.12.2. Trace the gerrit-trigger-plugin handling around patch-set supersession and workspace synchronization. Done means aborting a sync no longer corrupts the local git store.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, java
- Domain
- backend, ci-cd
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100