-
Bug
-
Resolution: Not A Defect
-
Blocker
-
None
-
Jenkins home directory is set to /var/lib/jenkins
I am trying to setup Jenkins with P4 plugin on RHEL. Jenkins is up and running but when I try to add credentials using perforce password, it fails with the below error. I believe I know the reason - there is nothing called /home/jenkins and it cannot be created as the user "home" are managed by our IT team. It seems like the plugin is trying to do something at "/home/jenkins" and fails. How can I specify some other location instead ?
Apr 23, 2019 8:13:02 PM org.jenkinsci.plugins.p4.client.ConnectionHelper connect
SEVERE: P4: Unable to login: com.perforce.p4java.exception.ConnectionException: com.perforce.p4java.exception.ConfigException: java.nio.file.AccessDeniedException: /home/jenkins
Apr 23, 2019 8:13:02 PM org.jenkinsci.plugins.p4.client.ConnectionHelper <init>
INFO: P4: Unable to login: com.perforce.p4java.exception.ConnectionException: com.perforce.p4java.exception.ConfigException: java.nio.file.AccessDeniedException: /home/jenkins
Apr 23, 2019 8:13:02 PM org.jenkinsci.plugins.p4.client.ConnectionHelper connectionRetry
SEVERE: P4: Connection retry: 1
Apr 23, 2019 8:13:02 PM org.jenkinsci.plugins.p4.client.ConnectionHelper <init>
INFO: P4: Connection retry: 1
Apr 23, 2019 8:13:05 PM org.jenkinsci.plugins.p4.client.ConnectionHelper connectionRetry
SEVERE: P4: Invalid credentials. Giving up...
Apr 23, 2019 8:13:05 PM org.jenkinsci.plugins.p4.client.ConnectionHelper <init>
INFO: P4: Invalid credentials. Giving up...