Skip to content

Commit e4f4817

Browse files
authored
Merge pull request #552 from jenkinsci/updatecli_master_a9b520a64e19715d0db64eef4d745f71c310e6ce8883f842e49b6fe6ca7451aa
Bump Git version on Windows to 2.51.0.windows.2
2 parents cdee9bf + 8a112ef commit e4f4817

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

windows/nanoserver/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ RUN $javaMajorVersion = $env:JAVA_HOME.Substring($env:JAVA_HOME.Length - 2); `
6161

6262
# Install git
6363
ARG GIT_VERSION=2.51.0
64-
ARG GIT_PATCH_VERSION=1
64+
ARG GIT_PATCH_VERSION=2
6565
RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; `
6666
# The patch "windows.1" always have a different URL than the subsequent patch (ZIP filename is different)
6767
if($env:GIT_PATCH_VERSION -eq 1) { $url = $('https://github.com/git-for-windows/git/releases/download/v{0}.windows.{1}/MinGit-{0}-64-bit.zip' -f $env:GIT_VERSION, $env:GIT_PATCH_VERSION); } `

windows/windowsservercore/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ USER ContainerAdministrator
5656

5757
# Install git
5858
ARG GIT_VERSION=2.51.0
59-
ARG GIT_PATCH_VERSION=1
59+
ARG GIT_PATCH_VERSION=2
6060
RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; `
6161
# The patch "windows.1" always have a different URL than the subsequent patch (ZIP filename is different)
6262
if($env:GIT_PATCH_VERSION -eq 1) { $url = $('https://github.com/git-for-windows/git/releases/download/v{0}.windows.{1}/MinGit-{0}-64-bit.zip' -f $env:GIT_VERSION, $env:GIT_PATCH_VERSION); } `

0 commit comments

Comments
 (0)