Gitlab Runner Windows Server 2019 Docker issues
I started Windows Server 2019 in VirtualBox. Installed Docker Engine and and gitlab and registered a docker executor.
But the pipelines does not seem to be working and I do not understand the error message..
Pipeline is very simple ::
image: mcr.microsoft.com/dotnet/framework/sdk
stages:
- build
build:
stage: build
script:
- 'nuget restore'
- 'msbuild'
tags : [dockerwindows]
Error Logs ::
Running with gitlab-runner 13.2.2 (a998cacd)
on dev-machine-windows-docker-1 yw3azJDH
Preparing the "docker-windows" executor
00:02
Using Docker executor with image mcr.microsoft.com/dotnet/framework/sdk ...
Pulling docker image mcr.microsoft.com/dotnet/framework/sdk ...
Using docker image sha256:be6035551084570113593bb155dbc6307372d84e9f9e63bb05d1916a2d3ff05b for mcr.microsoft.com/dotnet/framework/sdk ...
Preparing environment
An error occurred while creating the pipeline.
+ CategoryInfo : NotSpecified: (:) [], ParentContainsErrorRecordE
xception
+ FullyQualifiedErrorId : RuntimeException
Running on RUNNER-YW3AZJDH via
WIN-9O3U6Q9HEO2...
Getting source from Git repository
An error occurred while creating the pipeline.
+ CategoryInfo : NotSpecified: (:) [], ParentContainsErrorRecordE
xception
+ FullyQualifiedErrorId : RuntimeException
Fetching changes with git depth set to 50...
Reinitialized existing Git repository in c:/builds/instasafesdp/instasafesdp-adsync/.git/
Checking out e51d60f5 as master...
git-lfs/2.11.0 (GitHub; windows amd64; go 1.14.2; git 48b28d97)
Skipping Git submodules setup
Executing "step_script" stage of the job script
An error occurred while creating the pipeline.
+ CategoryInfo : NotSpecified: (:) [], ParentContainsErrorRecordE
xception
+ FullyQualifiedErrorId : RuntimeException
$ nuget restore
MSBuild auto-detection: using msbuild version '16.6.0.22303' from 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\bin'.
WARNING: Error reading msbuild project information, ensure that your input solution or project file is valid. NETCore and UAP projects will be skipped, only packages.config files will be restored.
All packages listed in packages.config are already installed.
$ msbuild
ERROR: Job failed: exit code 3221225785