lhotari opened a new pull request, #20550:
URL: https://github.com/apache/pulsar/pull/20550
### Motivation
Follow up on #20435 changes to fix build that could fail with git describe
error "fatal: No names found, cannot describe anything."
Full error message:
```
19:01:27 [ERROR] Failed to execute goal
pl.project13.maven:git-commit-id-plugin:4.9.10:revision (git-info) on project
docker-images: Could not complete Mojo execution...
pl.project13.core.NativeGitProvider$NativeCommandException: Git command exited
with invalid status [128]: directory:
`/home/ubuntu/workspace/Apache_Pulsar__Deploy_branch-3.0/docker`, command: `git
describe --dirty=-dirty --match=* --abbrev=7`, stdout: ``, stderr: `fatal: No
names found, cannot describe anything.` -> [Help 1]
```
### Modifications
- Configure git-commit-id-plugin to skip "git describe"
- Ignore errors when git-commit-id-plugin fails too run the git command
- similar config has been used in pulsar-common/pom.xml
### Documentation
<!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
- [ ] `doc` <!-- Your PR contains doc changes. -->
- [ ] `doc-required` <!-- Your PR changes impact docs and you will update
later -->
- [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
- [ ] `doc-complete` <!-- Docs have been already added -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]