-
Notifications
You must be signed in to change notification settings - Fork 662
Closed
Description
Running GitVersion in a restricted environment like i.e. Kudu (Azure web app deployment environment) results in a few issues
Your not allowed to set process priority so launching with GitVersion.exe" /output json results in
Unhandled Exception: System.ComponentModel.Win32Exception: Access is denied
at System.Diagnostics.Process.set_PriorityClass(ProcessPriorityClass value)
at GitVersion.Helpers.ProcessHelper.Start(ProcessStartInfo startInfo)
at GitVersion.Helpers.ProcessHelper.Run(Action`1 output, Action`1 errorOutput, TextReader input, String exe, String args, String workingDirectory, KeyValuePair`2[] environmentalVariables)
at GitVersion.LibGitExtensions.DumpGraph(String workingDirectory, Action`1 writer, Nullable`1 maxCommits)
at GitVersion.Program.VerifyArgumentsAndRun()
at GitVersion.Program.Main()
and exit code = -532462766
which seems to be releated to this
https://github.com/GitTools/GitVersion/blob/master/src/GitVersionCore/Helpers/ProcessHelper.cs#L27
Metadata
Metadata
Assignees
Labels
No labels