Jenkins pointing "nt authority\system" user except admin user and does not trigger chrome.

503 views
Skip to first unread message

harsh sarode

unread,
Mar 7, 2018, 8:04:51 AM3/7/18
to Jenkins Users
Hi DevOps Friends,

i'm trying an automation test, Jenkins windows server Running the Job as "nt authority\system" user,and it does not triggerout the chrome.
but when i run the job from cmd it opens browser and run test, my cmd (whoami) gives hsarode as user which is me (admin).
is there any way that,"nt authority\system" will trigger chrome or how i gonna change user to build test.
i tried change user from Jenkins service properties and changed the user but doesnot worked out.
please suggest

thanks in advance.
jenkinscmd.jpg
wincmd.jpg

Slide

unread,
Mar 7, 2018, 11:43:50 AM3/7/18
to jenkins...@googlegroups.com
The system user is not able to interact with the desktop. See [1] for information on possible ways to mitigate the issue.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2cba286b-47bd-452f-86f5-0727561bfa89%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

harsh

unread,
Mar 23, 2018, 8:23:10 AM3/23/18
to jenkins...@googlegroups.com
hi thanks to reply,
my jenkins service is running under my user(admin),also enabled the "Allow
Services to Interact with Desktop" and i'm running the test on the same
server,still no luck!
thanks by the way!



--
Sent from: http://jenkins-ci.361315.n4.nabble.com/Jenkins-users-f361316.html
Reply all
Reply to author
Forward
0 new messages