jenkinsci / jenkinsci/git-parameter-plugin

[JENKINS-64061] Git parameter with parameter type "Revision", it run slow.

Open
#292 0 comments 0 reactions 0 assignees View on GitHub
component:git-parameter-plugin imported-jira-issue priority:minor resolution:unresolved
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.


  • status: Open
  • priority: Minor
  • component(s): git-parameter-plugin
  • label(s): git, jenkins, plugin, windows
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20251216-182730

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.