Jenkins and plugins versions report
Environment
Jenkins: 2.541.3
OS: Linux - 4.18.0-553.109.1.el8_10.x86_64
Java: 21.0.9 - Eclipse Adoptium (OpenJDK 64-Bit Server VM)
---
antisamy-markup-formatter:173.v680e3a_b_69ff3
apache-httpcomponents-client-4-api:4.5.14-269.vfa_2321039a_83
apache-httpcomponents-client-5-api:5.6-191.vb_47e2b_41c698
asm-api:9.9.1-189.vb_5ef2964da_91
authentication-tokens:1.144.v5ff4a_5ec5c33
basic-branch-build-strategies:317.v85b_331d6cc42
bootstrap5-api:5.3.8-895.v4d0d8e47fea_d
bouncycastle-api:2.30.1.83-289.v8426fcd19371
branch-api:2.1280.v0d4e5b_b_460ef
caffeine-api:3.2.3-194.v31a_b_f7a_b_5a_81
checks-api:402.vca_263b_f200e3
cloudbees-bitbucket-branch-source:937.2.6
cloudbees-folder:6.1079.vc0975c2de294
command-launcher:123.v37cfdc92ef67
commons-collections4-api:4.5.0-8.va_d5448ef9011
commons-lang3-api:3.20.0-109.ve43756e2d2b_4
commons-text-api:1.15.0-218.va_61573470393
configuration-as-code:2065.v7a_20a_b_d84088
configuration-as-code-groovy:1.1
credentials:1502.v5c95e620ddfe
credentials-binding:719.v80e905ef14eb_
display-url-api:2.217.va_6b_de84cc74b_
durable-task:664.v2b_e7a_dfff66c
echarts-api:6.0.0-1247.vf3e35a_c1813f
eddsa-api:0.3.0.1-19.vc432d923e5ee
font-awesome-api:7.2.0-965.ve3840b_696418
git:5.10.1
git-client:6.6.0
github:1.46.0
github-api:1.330-492.v3941a_032db_2a_
github-branch-source:1967.vdea_d580c1a_b_a_
gitlab-api:6.2.0-111.vf174d6b_8c12e
gitlab-branch-source:740.v04f287f9194d
gson-api:2.13.2-173.va_a_092315913c
handy-uri-templates-2-api:2.1.8-38.vcea_5d521d5f3
hashicorp-vault-plugin:379.v080d932e61e4
htmlpublisher:427
instance-identity:203.v15e81a_1b_7a_38
ionicons-api:94.vcc3065403257
jackson2-api:2.21.2-433.v6d50b_92cfe52
jackson3-api:3.1.1-68.v2a_4b_025ea_657
jakarta-activation-api:2.1.4-1
jakarta-mail-api:2.1.5-1
jakarta-xml-bind-api:4.0.6-12.vb_1833c1231d3
javax-activation-api:1.2.0-8
javax-mail-api:1.6.2-11
jaxb:2.3.9-143.v5979df3304e6
jdk-tool:83.v417146707a_3d
jersey3-api:3.1.11-4.v77818819c2e1
jjwt-api:0.11.5-120.v0268cf544b_89
job-dsl:3654.vdf58f53e2d15
joda-time-api:2.14.1-187.vdf2def02b_8a_1
jquery3-api:3.7.1-619.vdb_10e002501a_
json-api:20251224-185.v0cc18490c62c
json-path-api:3.0.0-218.vcd4dd1355de2
junit:1403.vd9d1413fd205
kubernetes:4423.vb_59f230b_ce53
kubernetes-client-api:7.3.1-256.v788a_0b_787114
kubernetes-credentials:207.v492f58828b_ed
ldap:807.v7d7de30930cf
login-theme:325.v94b_7548124cb_
mailer:534.v1b_36f5864073
matrix-project:870.v9db_fcfc2f45b_
metrics:4.2.37-494.v06f9a_939d33a_
metron-jenkins:0.0.26
mina-sshd-api-common:2.16.0-167.va_269f38cc024
mina-sshd-api-core:2.16.0-167.va_269f38cc024
okhttp-api:5.3.2-200.vedb_720a_cf1f8
pipeline-build-step:584.vdb_a_2cc3a_d07a_
pipeline-graph-analysis:254.v0f63a_a_447dca_
pipeline-graph-view:819.ved496c19e082
pipeline-groovy-lib:787.ve2fef0efdca_6
pipeline-input-step:551.vdff487c5998c
pipeline-milestone-step:152.v6e22b_8cfc66c
pipeline-model-api:2.2277.v00573e73ddf1
pipeline-model-definition:2.2277.v00573e73ddf1
pipeline-model-extensions:2.2277.v00573e73ddf1
pipeline-rest-api:2.39
pipeline-stage-step:345.va_96187909426
pipeline-stage-tags-metadata:2.2277.v00573e73ddf1
pipeline-stage-view:2.39
plain-credentials:199.v9f8e1f741799
plugin-util-api:6.1192.v30fe6e2837ff
prism-api:1.30.0-703.v116fb_3b_5b_b_a_a_
prometheus:852.v317db_5d17a_b_0
reverse-proxy-auth-plugin:245.v93f25b_b_b_3102
robot:6.2.0
role-strategy:848.va_a_ea_673cf0b_c
scm-api:728.vc30dcf7a_0df5
scm-filter-branch-pr:v1.0.1
script-security:1399.ve6a_66547f6e1
simple-theme-plugin:230.v8b_fd91b_b_800c
snakeyaml-api:2.5-149.v72471e9c6371
snakeyaml-engine-api:3.0.1-5.vd98ea_ff3b_92e
ssh-credentials:372.va_250881b_08cd
sshd:3.374.v19b_d59ce6610
structs:362.va_b_695ef4fdf9
timestamper:1.30
token-macro:477.vd4f0dc3cb_cf1
trilead-api:2.209.v0e69b_c43c245
variant:70.va_d9f17f859e0
webhook-notifier:4.0.1
woodstox-core-api:7.1.1-1.v4d297985f397
workflow-aggregator:608.v67378e9d3db_1
workflow-api:1413.v2ff1a_5e720fa_
workflow-basic-steps:1098.v808b_fd7f8cf4
workflow-cps:4275.vb_0565eb_a_3d36
workflow-durable-task-step:1475.ved562f6ec8b_3
workflow-job:1571.vb_423c255d6d9
workflow-multibranch:821.vc3b_4ea_780798
workflow-scm-step:466.va_d69e602552b_
workflow-step-api:724.v538c2362b_dfb_
workflow-support:1015.v785e5a_b_b_8b_22
In a regular multibranch job fetching from BitBucket server, there are repositories (not all) that become dirty right after checkout (with GIT LFS pull enabled).
So, we execute: git status --porcelain we get
10:46:58 D Path/to/File/onGITLFS.png
The agent is a windows 2019 container with this installed:
- git version 2.51.2.windows.1
- git-lfs/3.7.1 (GitHub; windows amd64; go 1.25.1; git b84b3384)
The reason that leads me to open this bug report is that if I explicitly execute git lfs pull, the checkout is then correct. Which makes me suspect there is an issue in the way the plugin in checking out the the LFS objects.
Also, using git LFS 3.6.1 the checkout works correctly.
What Operating System are you using (both controller, and any agents involved in the problem)?
Controller is a Linux docker image
Agent is a Windows 2019 container
Reproduction steps
- Configure a multi branch pipeline job that fetches a repository with GIT LFS enabled
- Trigger the build.
- Run, as the first step:
bat "git status --porcelain"
Expected Results
Command outputs nothing, meaning that repository is clean after checkout
Actual Results
Command output shows dirty repository, similar to: D Path/to/File/onGITLFS.png
Anything else?
No response
Are you interested in contributing a fix?
No response
Jenkins and plugins versions report
Environment
In a regular multibranch job fetching from BitBucket server, there are repositories (not all) that become dirty right after checkout (with GIT LFS pull enabled).
So, we execute:
git status --porcelainwe get10:46:58 D Path/to/File/onGITLFS.pngThe agent is a windows 2019 container with this installed:
The reason that leads me to open this bug report is that if I explicitly execute
git lfs pull, the checkout is then correct. Which makes me suspect there is an issue in the way the plugin in checking out the the LFS objects.Also, using git LFS 3.6.1 the checkout works correctly.
What Operating System are you using (both controller, and any agents involved in the problem)?
Controller is a Linux docker image
Agent is a Windows 2019 container
Reproduction steps
bat "git status --porcelain"Expected Results
Command outputs nothing, meaning that repository is clean after checkout
Actual Results
Command output shows dirty repository, similar to:
D Path/to/File/onGITLFS.pngAnything else?
No response
Are you interested in contributing a fix?
No response