File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -112,8 +112,7 @@ USER $user
112112RUN New-Item -Type Directory $('{0}/.jenkins' -f $env:AGENT_ROOT) | Out-Null ; `
113113 New-Item -Type Directory $env:AGENT_WORKDIR | Out-Null
114114
115- RUN git config --global core.longpaths true ; `
116- git config --system core.longpaths true ; `
115+ RUN git config --system core.longpaths true ; `
117116 Set-ItemProperty -Path 'HKLM:\S YSTEM\C urrentControlSet\C ontrol\F ileSystem' -Name LongPathsEnabled -type DWord -Value 1
118117
119118VOLUME "${AGENT_ROOT}" /.jenkins
Original file line number Diff line number Diff line change @@ -105,8 +105,7 @@ USER $user
105105RUN New-Item -Type Directory $('{0}/.jenkins' -f $env:AGENT_ROOT) | Out-Null ; `
106106 New-Item -Type Directory $env:AGENT_WORKDIR | Out-Null
107107
108- RUN git config --global core.longpaths true ; `
109- git config --system core.longpaths true ; `
108+ RUN git config --system core.longpaths true ; `
110109 Set-ItemProperty -Path 'HKLM:\S YSTEM\C urrentControlSet\C ontrol\F ileSystem' -Name LongPathsEnabled -type DWord -Value 1
111110
112111VOLUME "${AGENT_ROOT}" /.jenkins
You can’t perform that action at this time.
0 commit comments