Skip to content

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

@jenkins-infra-bot

Description

@jenkins-infra-bot

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions