Run Jenkins jobs on Linux under a User -
Run Jenkins jobs on Linux under a User -
i have jenkins installed in linux , want run build(s) under user.
not simple user, 1 belongs list of user access linux machine , belongs grouping has privileges modify/create files under folder.
i have read somewhere can set variable $jenkins_user not know , how. give thanks time
p.s. did research questions posted similar not same one
please if not clear read this: jenkins execute build using user called jenkins, want able utilize different user (pre-existing).
have @ started-by environment variable plugin.
https://wiki.jenkins-ci.org/display/jenkins/started-by+environment+variable+plugin
edit:
if asking how set jenkins run under different user in linux depends on how installed it. never set jenkins on linus yet (but can utilize google). have @ https://wiki.jenkins-ci.org/display/jenkins/installing+jenkins different setup options. had @ installing jenkins unix daemon , @ step 7 need setup configuration file. alter lastly line in file (run_as_user=jenkins
) contain user of choice.
linux user jenkins
Comments
Post a Comment