From ca75f0cdb8a69c597597c4699bef752e5a27c4d2 Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Wed, 29 May 2024 22:31:26 +0900 Subject: [PATCH] Fixed git checkout directory --- Dockerfiles/build-mysql/windows/Dockerfile.agent2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfiles/build-mysql/windows/Dockerfile.agent2 b/Dockerfiles/build-mysql/windows/Dockerfile.agent2 index 035845460..688816baa 100644 --- a/Dockerfiles/build-mysql/windows/Dockerfile.agent2 +++ b/Dockerfiles/build-mysql/windows/Dockerfile.agent2 @@ -66,8 +66,8 @@ RUN Set-Location -Path $env:SystemDrive\.; ` mingw32-make -s clean; ` ` Write-Host ('Building Zabbix MongoDB plugin {0} version ...' -f $env:MONGODB_PLUGIN_VERSION); ` - git -c advice.detachedHead=false clone $env:MONGODB_PLUGIN_SOURCES --branch $env:MONGODB_PLUGIN_VERSION ?? $env:ZBX_VERSION --depth 1 --single-branch $env:SystemDrive\mongodb_plugin; ` - Set-Location -Path $env:SystemDrive\mongodb_plugin; ` + git -c advice.detachedHead=false clone $env:MONGODB_PLUGIN_SOURCES --branch $env:MONGODB_PLUGIN_VERSION --depth 1 --single-branch $env:SystemDrive\zabbix_src\mongodb_plugin; ` + Set-Location -Path $env:SystemDrive\zabbix_src\mongodb_plugin; ` mingw32-make; ` ` Write-Host 'Verifying MongoDB plugin ("zabbix-agent2-plugin-mongodb.exe -V") ...'; ` @@ -78,8 +78,8 @@ RUN Set-Location -Path $env:SystemDrive\.; ` mingw32-make -s clean; ` ` Write-Host ('Building Zabbix PostgreSQL plugin {0} version ...' -f $env:POSTGRESQL_PLUGIN_VERSION); ` - git -c advice.detachedHead=false clone $env:POSTGRESQL_PLUGIN_SOURCES --branch $env:POSTGRESQL_PLUGIN_VERSION ?? $env:ZBX_VERSION --depth 1 --single-branch $env:SystemDrive\postgresql_plugin; ` - Set-Location -Path $env:SystemDrive\postgresql_plugin; ` + git -c advice.detachedHead=false clone $env:POSTGRESQL_PLUGIN_SOURCES --branch $env:POSTGRESQL_PLUGIN_VERSION --depth 1 --single-branch $env:SystemDrive\zabbix_src\postgresql_plugin; ` + Set-Location -Path $env:SystemDrive\zabbix_src\postgresql_plugin; ` mingw32-make; ` ` Write-Host 'Verifying build ("zabbix-agent2-plugin-postgresql.exe -V") ...'; `