My Jenkins is running slowly and GitChangeSet is causing it

Issue

  • My Jenkins is running slowly and threads about GitChangeSet.findOrCreateUser keep showing up

Environment

# Related issues #
* JENKINS-47429

Resolution

JENKINS-47429 is the cause of this issue but Jenkins is trying to get all the users from a legacy changeset which is affecting performance. This can be relieved somewhat by upgrading to 2.73.3.1 version of the LTS because it will only perform this lookup once instead of every time the call is made but will not be fixed completely until the linked defect is fixed.

One of the possible causes of the stacktrace itself is Stage View getting legacy users which can be turned off by running System.setProperty("com.cloudbees.workflow.rest.external.ChangeSetExt.resolveCommitAuthors","false");
in the script console under Manage Jenkins> Script Console but that is only if Stage view is the cause of all the calls.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.