Issue during Jenkins Testrun for multi project

Ranorex Studio, Spy, Recorder, and Driver.
shruti Kapur
Posts: 20
Joined: Tue Jan 17, 2017 11:22 am

Issue during Jenkins Testrun for multi project

Post by shruti Kapur » Mon Jun 07, 2021 4:12 pm

I am trying to run a multiconfigration project on agent machine via Jenkins.
If i run this test indiviually using Jenkins it runs properly but in case of Multiconfig project even though the configration is same
the following error is displayed.

[msbuild] $ cmd /c call C:\Users\RANORE~1.EAS\AppData\Local\Temp\jenkins7124322173107185859.bat
This program was blocked by a group policy. Contact the system administrator for more information.
Build step 'Execute Windows batch command' marked build as failure

I am not sure why it goes to Temp folder ?? We are not allowed to run from USers . Where can i define the path of the .bat file ?
You do not have the required permissions to view the files attached to this post.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7469
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Issue during Jenkins Testrun for multi project

Post by odklizec » Tue Jun 08, 2021 7:02 am

Hi,

I'm afraid, this is not a Ranorex-related issue, but rather a Jenkins related problem? So I would suggest to create a post on Jenkins issue tracker. The path to bat is generated directly by Jenkins and Temp folder is expected location for Jenkins files. It's pretty unusual that you are blocked to use Users/Temp folder?

I'm personally using Jenkins and I've never experienced issue like this. But it seems there is an explanation what's actually wrong?
"This program was blocked by a group policy. Contact the system administrator for more information.
Build step 'Execute Windows batch command' marked build as failure"

So you may need to contact your IT folks and discuss the problem directly with them?
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

shruti Kapur
Posts: 20
Joined: Tue Jan 17, 2017 11:22 am

Re: Issue during Jenkins Testrun for multi project

Post by shruti Kapur » Mon Jun 21, 2021 1:53 pm

Thank you for the reply. It was a admin issue.