Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I tell what user Jenkins is running as?

I have a bitnami Jenkins VM, how do I tell what user Jenkins is running as? I suspect it is Tomcat.

like image 433
Zach Avatar asked Jul 18 '13 20:07

Zach


People also ask

How do I run a Jenkins job as a specific user?

By default, Jenkins triggers all the builds as SYSTEM user, so in order to configure projects to run with specified authorization you need to install the Authorize Project plugin. After this, only users with Agent->Build permission will be able to build on this particular project for a particular agent.

What is Jenkins system user?

The Jenkins system users typically have the user id and have a login with limited access to the Jenkinsservices. For example, the Jenkins system users only do an action like start, stop, and restart if they have given action to do so. All in One Software Development Bundle(600+ Courses, 50+ projects)

How run Jenkins from command line?

Open up a terminal/command prompt window to the download directory. Run the command java -jar jenkins. war . Browse to http://localhost:8080 and wait until the Unlock Jenkins page appears.


1 Answers

If you have access to the gui, you can go to "manage jenkins" > "system information" and look for "user.name".

like image 124
jehon Avatar answered Sep 17 '22 16:09

jehon