Update git clone logic in build.xml
- Dominant language
- HTML
- Stars
- 155
- Forks
- 346
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 36
Description
We have encountered lots of test material staging problems (see [build.xml](https://github.com/adoptium/aqa-tests/blob/master/jck/build.xml#L89)). In the build.xml, the logic is complicated as we try to handle lots of different cases.
To make this simple, if git cmd fails, we should remove the pre-staged material and re-clone.
related:
- infrastructure/issues/8508
- backlog/issues/1255
- backlog/issues/1248
Contributor guide
Research direction
Start by reading jck/build.xml around line 89 and trace the existing git clone and pre-staged-material handling. Reproduce or inspect the staging failure path, then verify that a failed git command removes the pre-staged material and retries the clone; confirm the relevant test-material staging flow completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git
- Domain
- build-system, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100