.NET build fails because Git commit metadata is missing

A build step failed (exit code 100). The full output is in the deploy log.

Seen175 times · 56 variants

Why it happens

The .NET publish step reaches the Umbraco build targets, which require a short Git commit ID for versioning. The build context does not provide that value, likely because the checkout is shallow or Git metadata is unavailable inside the image. The failure occurs during dotnet publish, before the application starts.

What the log looks like

Deploy log
#12 18.52 /root/.nuget/packages/umbraco.gitversioning.extensions/0.2.0/build/Umbraco.GitVersioning.Extensions.targets(5,5): error MSB4044: The "GetUmbracoBuildVersion" task was not given a value for the required parameter "GitCommitIdShort".#12 ERROR: process "/bin/sh -c dotnet publish 'src/Umbraco.Web.UI/Umbraco.Web.UI.csproj' -c Release -o out --nologo" did not complete successfully: exit code: 1

Try PanelAlpha Engine yourself.

The easiest way to turn your server into a safe, controlled environment for your AI agent. Deploy, manage and maintain any project from Claude Code, Cursor, Codex or any other MCP client. Open source under Apache 2.0, free to run.

Requires Ubuntu 24.04 or 26.04 · 2 GB RAM · 1 CPURead the documentation