x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Manifest.xml doesnt not exists when building from CLI

Hey everyone,

I am trying to automate the building process of our project. I followed a couple of guide but essentially this is what I have done:

  1. Install Jenkins

  2. Built the engine from the source code using this guide.

  3. Configured jenkins using this guide

However, when I start the build from jenkins I get an error BUILD FAILED

 ERROR: BUILD FAILED UBT Manifest C:\Program Files (x86)\Jenkins\workspace\unreal\Intermediate/Build/Manifest.xml does not exist.

Which I don't have if I build the project from the editor itself.

This error happens when this command get run:

 "C:\Users\RenderBeast\Documents\repos\unreal\Engine/Build/BatchFiles/RunUAT.bat" BuildCookRun -rocket -compile -compileeditor -installed -nop4 -project="%WORKSPACE%/[project_name].uproject" -cook -stage -archive -archivedirectory="%WORKSPACE%/temp/Development/x64" -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -clean -pak -prereqs -distribution -nodebuginfo -targetplatform=Win64 -build -utf8output

Where [project_name] is the name of our project. I have seen other thread about this problem, but none of them seems to get a proper answer or the answer does not fix my issue. My project at the moment only targets Windows for testing purposes but I would like to add Linux in the future.

This is the full error log:

     C:\Program Files (x86)\Jenkins\workspace\unreal>"C:\Users\RenderBeast\Documents\repos\unreal\Engine/Binaries/DotNet/UnrealBuildTool.exe" -projectfiles -project="C:\Program Files (x86)\Jenkins\workspace\unreal/[project_name].uproject" -game -rocket -progress 
     Discovering modules, targets and source code for project...
 
     @progress 'Binding IntelliSense data...' 0%
     @progress 'Binding IntelliSense data...' 100%
     @progress 'Writing project files...' 0%
     @progress 'Writing project files...' 50%
     @progress 'Writing project files...' 100%
 
 
     C:\Program Files (x86)\Jenkins\workspace\unreal>exit 0 
     [unreal] $ cmd /c call C:\Windows\TEMP\jenkins6661595754539949694.bat
 
     C:\Program Files (x86)\Jenkins\workspace\unreal>"C:\Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe" "[project_name].sln" /t:build /p:Configuration="Development Editor";Platform=Win64;verbosity=diagnostic 
 Microsoft (R) Build Engine version 15.5.180.51428 for .NET Framework
 Copyright (C) Microsoft Corporation. All rights reserved.
 
 Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
 Build started 2018-02-17 5:50:18 PM.
 Project "C:\Program Files (x86)\Jenkins\workspace\unreal\[project_name].sln" on node 1 (build target(s)).
 ValidateSolutionConfiguration:
   Building solution configuration "Development EProject "C:\Program Files (x86)\Jenkins\workspace\unreal\ditor|Win64".
 Project "C:\Program Files (x86)\Jenkins\workspace\unreal\[project_name].sln" (1) is building "C:\Program Files (x86)\Jenkins\workspace\unreal\Intermediate\ProjectFiles\[project_name].vcxproj" (2) on node 1 (default targets).
 PrepareForNMakeBuild:
   Creating directory "C:\Program Files (x86)\Jenkins\workspace\unreal\Intermediate\ProjectFiles\..\Build\Unused\".
 Build:
   C:\Users\RenderBeast\Documents\repos\unreal\Engine\Build\BatchFiles\Build.bat [project_name]Editor Win64 Development "C:\Program Files (x86)\Jenkins\workspace\unreal\[project_name].uproject" -waitmutex
   Using 'git status' to determine working set for adaptive non-unity build.
   Creating makefile for [project_name]Editor (no existing makefile)
   Performing full C++ include scan (no include cache file)
   Building UnrealHeaderTool...
   Creating makefile for UnrealHeaderTool (project files are newer)
   Target is up to date
   Total build time: 1.92 seconds (NoActionsToExecute executor: 0.00 seconds)
   Parsing headers for [project_name]Editor
     Running UnrealHeaderTool "C:\Program Files (x86)\Jenkins\workspace\unreal\[project_name].uproject" "C:\Program Files (x86)\Jenkins\workspace\unreal\Intermediate\Build\Win64\[project_name]Editor\Development\[project_name]Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors
   Reflection code generated for [project_name]Editor in 30.2919595 seconds
   Performing 14 actions (24 in parallel)
   [project_name]HUD.cpp
   [project_name]GameMode.cpp
   [project_name]Projectile.cpp
   Gun.gen.cpp
   [project_name]Projectile.gen.cpp
   [project_name]HUD.gen.cpp
   [project_name].init.gen.cpp
   [project_name]Character.gen.cpp
   [project_name]GameMode.gen.cpp
   [project_name]Character.cpp
   Gun.cpp
   [project_name].cpp
   [13/14] Link UE4Editor-[project_name].dll
   [14/14] Link UE4Editor-[project_name].lib
      Creating library C:\Program Files (x86)\Jenkins\workspace\unreal\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-[project_name].lib and object C:\Program Files (x86)\Jenkins\workspace\unreal\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-[project_name].exp
      Creating library C:\Program Files (x86)\Jenkins\workspace\unreal\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-[project_name].suppressed.lib and object C:\Program Files (x86)\Jenkins\workspace\unreal\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-[project_name].suppressed.exp
   Deploying [project_name]Editor Win64 Development...
   Total build time: 125.88 seconds (Local executor: 5.64 seconds)
 Done Building Project "C:\Program Files (x86)\Jenkins\workspace\unreal\Intermediate\ProjectFiles\[project_name].vcxproj" (default targets).
 Done Building Project "C:\Program Files (x86)\Jenkins\workspace\unreal\[project_name].sln" (build target(s)).
 
 Build succeeded.
     0 Warning(s)
     0 Error(s)
 
 Time Elapsed 00:02:06.87
 
 C:\Program Files (x86)\Jenkins\workspace\unreal>exit 0 
 [unreal] $ cmd /c call C:\Windows\TEMP\jenkins6357093549854990049.bat
 
 C:\Program Files (x86)\Jenkins\workspace\unreal>"C:\Users\RenderBeast\Documents\repos\unreal\Engine/Build/BatchFiles/RunUAT.bat" BuildCookRun -rocket -compile -compileeditor -installed -nop4 -project="C:\Program Files (x86)\Jenkins\workspace\unreal/[project_name].uproject" -cook -stage -archive -archivedirectory="C:\Program Files (x86)\Jenkins\workspace\unreal/temp/Development/x64" -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -clean -pak -prereqs -distribution -nodebuginfo -targetplatform=Win64 -build -utf8output 
 Running AutomationTool...
 Parsing command line: BuildCookRun -rocket -compile -compileeditor -installed -nop4 -project="C:\Program Files (x86)\Jenkins\workspace\unreal/[project_name].uproject" -cook -stage -archive -archivedirectory="C:\Program Files (x86)\Jenkins\workspace\unreal/temp/Development/x64" -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -clean -pak -prereqs -distribution -nodebuginfo -targetplatform=Win64 -build -utf8output -compile
 Compiling scripts.
     DotNETUtilities -> C:\Users\RenderBeast\Documents\repos\unreal\Engine\Binaries\DotNET\DotNETUtilities.dll
     UnrealBuildTool -> C:\Users\RenderBeast\Documents\repos\unreal\Engine\Binaries\DotNET\UnrealBuildTool.exe
     AutomationUtils.Automation -> C:\Users\RenderBeast\Documents\repos\unreal\Engine\Binaries\DotNET\AutomationUtils.Automation.dll
     AllDesktop.Automation -> C:\Users\RenderBeast\Documents\repos\unreal\Engine\Binaries\DotNET\AutomationScripts\AllDesktop\AllDesktop.Automation.dll
     Localization.Automation -> C:\Users\RenderBeast\Documents\repos\unreal\Engine\Binaries\DotNET\AutomationScripts\Localization.Automation.dll
     OneSkyLocalization.Automation -> C:\Users\RenderBeast\Documents\repos\unreal\Engine\Binaries\DotNET\AutomationScripts\OneSkyLocalization.Automation.dll
     AutomationScripts.Automation -> C:\Users\RenderBeast\Documents\repos\unreal\Engine\Binaries\DotNET\AutomationScripts\AutomationScripts.Automation.dll
     Android.Automation -> C:\Users\RenderBeast\Documents\repos\unreal\Engine\Binaries\DotNET\AutomationScripts\Android\Android.Automation.dll
     BuildGraph.Automation -> C:\Users\RenderBeast\Documents\repos\unreal\Engine\Binaries\DotNET\AutomationScripts\BuildGraph.Automation.dll
     HTML5.Automation -> C:\Users\RenderBeast\Documents\repos\unreal\Engine\Binaries\DotNET\AutomationScripts\HTML5\HTML5.Automation.dll
     MobileDeviceInterface -> C:\Users\RenderBeast\Documents\repos\unreal\Engine\Binaries\DotNET\IOS\MobileDeviceInterface.dll
     IOS.Automation -> C:\Users\RenderBeast\Documents\repos\unreal\Engine\Binaries\DotNET\AutomationScripts\IOS\IOS.Automation.dll
     Linux.Automation -> C:\Users\RenderBeast\Documents\repos\unreal\Engine\Binaries\DotNET\AutomationScripts\Linux\Linux.Automation.dll
     Mac.Automation -> C:\Users\RenderBeast\Documents\repos\unreal\Engine\Binaries\DotNET\AutomationScripts\Mac\Mac.Automation.dll
     TVOS.Automation -> C:\Users\RenderBeast\Documents\repos\unreal\Engine\Binaries\DotNET\AutomationScripts\TVOS\TVOS.Automation.dll
     Win.Automation -> C:\Users\RenderBeast\Documents\repos\unreal\Engine\Binaries\DotNET\AutomationScripts\Win.Automation.dll
     XLocLocalization.Automation -> C:\Users\RenderBeast\Documents\repos\unreal\Engine\Binaries\DotNET\AutomationScripts\XLocLocalization.Automation.dll
 Took 3.142506s to run MSBuild.exe, ExitCode=0
 Setting up ProjectParams for C:\Program Files (x86)\Jenkins\workspace\unreal\[project_name].uproject
 ********** BUILD COMMAND STARTED **********
 Running: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin\MSBuild.exe C:/Users/RenderBeast/Documents/repos/unreal/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj /verbosity:minimal /nologo /target:Rebuild /property:Configuration=Development /property:Platform=AnyCPU
     DotNETUtilities -> C:\Users\RenderBeast\Documents\repos\unreal\Engine\Binaries\DotNET\DotNETUtilities.dll
     UnrealBuildTool -> C:\Users\RenderBeast\Documents\repos\unreal\Engine\Binaries\DotNET\UnrealBuildTool.exe
 Took 1.3886004s to run MSBuild.exe, ExitCode=0
 Running: C:\Users\RenderBeast\Documents\repos\unreal\Engine\Binaries\DotNET\UnrealBuildTool.exe [project_name] Win64 Development -Project="C:\Program Files (x86)\Jenkins\workspace\unreal\[project_name].uproject" -clean "C:\Program Files (x86)\Jenkins\workspace\unreal\[project_name].uproject" -NoUBTMakefiles  -remoteini="C:\Program Files (x86)\Jenkins\workspace\unreal" -skipdeploy -nobuilduht -NoHotReload
   Using 'git status' to determine working set for adaptive non-unity build.
 Took 44.4809395s to run UnrealBuildTool.exe, ExitCode=0
 Running: C:\Users\RenderBeast\Documents\repos\unreal\Engine\Binaries\DotNET\UnrealBuildTool.exe [project_name] Win64 Development -Project="C:\Program Files (x86)\Jenkins\workspace\unreal\[project_name].uproject"  "C:\Program Files (x86)\Jenkins\workspace\unreal\[project_name].uproject" -NoUBTMakefiles  -remoteini="C:\Program Files (x86)\Jenkins\workspace\unreal" -skipdeploy -noxge -generatemanifest -NoHotReload -ignorejunk
   Using 'git status' to determine working set for adaptive non-unity build.
 Took 43.4107558s to run UnrealBuildTool.exe, ExitCode=0
 ERROR: BUILD FAILED UBT Manifest C:\Program Files (x86)\Jenkins\workspace\unreal\Intermediate/Build/Manifest.xml does not exist.
        (see C:\Windows\system32\config\systemprofile\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Users+RenderBeast+Documents+repos+unreal\UAT_Log.txt for full exception trace)
 AutomationTool exiting with ExitCode=1 (Error_Unknown)
 BUILD FAILED
 Build step 'Execute Windows batch command' marked build as failure
 Archiving artifacts
 Finished: FAILURE

 

Thank you!

Product Version: UE 4.18
Tags:
more ▼

asked Feb 18 '18 at 12:01 AM in Packaging & Deployment

avatar image

KerryGD
1 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question