Manual vs Automatic pipeline run gives different results

Hello,
I’m new to jenkins, doing a simple pipeline that runs script, which has to build binaries for Unreal Engine. Building script itself works fine, submit hooks (perforce) are fine and jenkins script (groovy) is fine. But it works only when I run the job manually. If I wait for automatic run after submit, building process is failed.
Unfortunately, verbosity on building process only tells me the last lib that it starts to build, which is always the same on automatically failed builds, so I could assume this is something to deal with file system error.
But I really have no clue on that. If someone has same experience, please help c:

1 Like

Hello @YeNov and welcome to this community :wave:

Would you have any configuration or logs to share?

Thanks.

1 Like

Thanks, @poddingue , I put these on pastebin
Jenkins code: jenkins code - Pastebin.com ← There is a bat command on line 178 which does binaries compilation and submit to p4
Logs: olologs - Pastebin.com
Jenkins simply polls changelists and when a new appears, it gets latest and runs the script. Please let me know if you need something else

1 Like

Ok, so for some reason the real problem is Unreal Engine specific. It doesn’t explain why manual builds where successful though, but yeah. It was fixed by fixing some script-related issues

1 Like

Thanks a lot for your feedback, and good luck with your project :+1: .