UnrealBuildTool fails in Jenkins

I am attempting to run a plugin build using RunUAT.bat BuildPlugin. My build works fine when run from powershell/cmd, however when running the build through a jenkins process (on the same machine) the build fails. There is no useful information in the logs, (the log ends just before the VCToolChain starts), even the error code is not useful: “AutomationTool exiting with ExitCode=-1073740768”

I’m not really sure what I am missing here, the environment seems the same (I believe that jenkins inherits the environment from the user). Any help or insight would be appreciated.