i have jenkins installation runs windows service under specific user. now, want able access ui system tests, not allowed user.
my idea start jenkins command line (using jenkins.war) such run allowance of desktop interaction, while still using specific user.
however, when run 'empty' jenkins, nothing configured (no settings, no jobs). have special run jenkins command line retaining settings , jobs once has been installed service?
jenkins stores configuration in directory (called jenkins_home), location based on user under jenkins running.
you can see via: manage jenkins > configure system > home directory (at top of page).
to run jenkins user, need copy jenkins_home contents "home directory" value see when running user (probably c:\users\username\.jenkins).
or can set jenkins_home environment variable point system installation directory (if installed msi, within c:\program files (x86)\jenkins). jenkins start up, reading existing settings , jobs. though in case, need make sure user has same access rights system service had.
Comments
Post a Comment