jenkinsci / jenkinsci/git-parameter-plugin
[JENKINS-64061] Git parameter with parameter type "Revision", it run slow.
- Dominant language
- Java
- Stars
- 131
- Forks
- 134
- Avg merge
- 21h 5m
- Merged PRs (30d)
- 1
Description
When I use "git log" in my code folder takes almost three seconds, "git log --oneline" just 200ms. Although the speed on the computer is not much different. But I used git parameter in Jenkins with parameter type "Revision", it would run about 1 minute 40 seconds. Maybe use "git log --oneline" can let it run fast. Or I can Ilet it become fast with another way?
Thank you.
---
Originally reported by bevischang, imported from: Git parameter with parameter type "Revision", it run slow.
Raw content of original issue
When I use "git log" in my code folder takes almost three seconds, "git log --oneline" just 200ms. Although the speed on the computer is not much different. But I used git parameter in Jenkins with parameter type "Revision", it would run about 1 minute 40 seconds. Maybe use "git log --oneline" can let it run fast. Or I can Ilet it become fast with another way?
Thank you.
- environment:
Jenkins ver. 2.150.3, Git Parameter Plug-In 0.9.13, win10
Contributor guide
Assessment
This issue has not been assessed yet.