Your Question: How Run Jenkins Under Another User in Linux?
Contents

How run Jenkins as another user?

To change the jenkins user, open the /etc/sysconfig/jenkins (in debian this file is created in /etc/default) and change the JENKINS_USER to whatever you want. Make sure that user exists in the system (you can check the user in the /etc/passwd file ).

Which user runs Jenkins jobs?

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.

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest