Automation tool error jenkins

Hi all,

i’ve been breaking my head over a weird issue i’ve been having with automating my builds in Jenkins.
I’m using the following 2 commands:

“C:\Program Files\Epic Games\UE_4.24\Engine\Binaries\DotNET\UnrealBuildTool.exe” -projectfiles -project=“C:\SM\SM.uproject” -game -rocket -progress

which runs successfully, and

“C:\Program Files\Epic Games\UE_4.24\Engine\Build\BatchFiles\RunUAT.bat” BuildCookRun -project=“C:\SM\SM.uproject” -noP4 -platform=Win64 -clientconfig=Development -cook -allmaps -build -stage -pak -archive -archivedirectory=”C:\Builds”

which returns with “ERROR: System.NotSupportedException: The given path’s format is not supported.”
Full log is here: C:\Jenkins\workspace\Streamlined Mastermind>"C:\Program Files\Epic Games\UE_4.24 - Pastebin.com

Weird thing is that when I use these commands outside of jenkins in cmd I don’t receive these errors.
Does anyone have any experience with these kinds of issues?

Hi, I think that the problem is in: -archivedirectory=”C:\Builds”. You’re using those strange quotation marks instead of " ", like in -project=“C:\SM\SM.uproject”.

Maybe, the command prompt deals with those font issues, but the UAT doesn’t.

I’m also doing something similar with automation in Jenkins. If you’re interested, here’s my repository: