[JIRA] (JENKINS-57156) p4 plugin : Invalid credentials

2019-04-24 Thread kwi...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Karl Wirth closed an issue as Not A Defect  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Fixed by changing the home directory for the user.  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-57156  
 
 
  p4 plugin : Invalid credentials   
 

  
 
 
 
 

 
Change By: 
 Karl Wirth  
 
 
Status: 
 Open Closed  
 
 
Resolution: 
 Not A Defect  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57156) p4 plugin : Invalid credentials

2019-04-23 Thread rg...@cadence.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rohit Goel commented on  JENKINS-57156  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: p4 plugin : Invalid credentials   
 

  
 
 
 
 

 
 Thanks Joel for providing the information. I was able to get it working by adding the jvm option -Duser.home to /var/lib/jenkins Appreciate the prompt replies.   -Rohit  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57156) p4 plugin : Invalid credentials

2019-04-23 Thread j.f.br...@sbcglobal.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Joel Brown commented on  JENKINS-57156  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: p4 plugin : Invalid credentials   
 

  
 
 
 
 

 
 The default location for the tickets file is $user.home/.p4tickets.   Check the Manage Jenkins -> System Information for "user.dir".  Is it /home/jenkins? To change, ask your IT to change OS user jenkins home dir to be /var/lib/jenkins. Or you can alter your jenkins startup to change it, set jvm option -Duser.home=/var/lib/jenkins and make sure the jenkins process OS user (typically 'jenkins') can r/w file in that dir. Or you  also can point to a file, start jvm with -DticketPath=/some/path/to/p4tickets.txt  (same r/w requirement) Where you set these java system props depends on your jenkins seutp.  For example, add the -D to /etc/default/jenkins within JAVA_ARGS.  Restart jenkins to pick it up.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57156) p4 plugin : Invalid credentials

2019-04-23 Thread rg...@cadence.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rohit Goel commented on  JENKINS-57156  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: p4 plugin : Invalid credentials   
 

  
 
 
 
 

 
 Hi Karl, Its set to /var/lib/jenkins. I have tried changing to some other location as well (with chmod -R 777), but no difference  -Rohit  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57156) p4 plugin : Invalid credentials

2019-04-23 Thread rg...@cadence.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rohit Goel updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57156  
 
 
  p4 plugin : Invalid credentials   
 

  
 
 
 
 

 
Change By: 
 Rohit Goel  
 
 
Attachment: 
 image-2019-04-23-21-24-06-898.png  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57156) p4 plugin : Invalid credentials

2019-04-23 Thread kwi...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Karl Wirth commented on  JENKINS-57156  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: p4 plugin : Invalid credentials   
 

  
 
 
 
 

 
 Hi Rohit Goel, what is 'Home directory' set to in your Jenkins setup?   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57156) p4 plugin : Invalid credentials

2019-04-23 Thread kwi...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Karl Wirth updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57156  
 
 
  p4 plugin : Invalid credentials   
 

  
 
 
 
 

 
Change By: 
 Karl Wirth  
 
 
Attachment: 
 image-2019-04-23-16-02-31-176.png  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57156) p4 plugin : Invalid credentials

2019-04-23 Thread kwi...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Karl Wirth assigned an issue to Karl Wirth  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57156  
 
 
  p4 plugin : Invalid credentials   
 

  
 
 
 
 

 
Change By: 
 Karl Wirth  
 
 
Assignee: 
 Karl Wirth  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57156) p4 plugin : Invalid credentials

2019-04-23 Thread rg...@cadence.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rohit Goel created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57156  
 
 
  p4 plugin : Invalid credentials   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 p4-plugin  
 
 
Created: 
 2019-04-23 14:51  
 
 
Environment: 
 Jenkins home directory is set to /var/lib/jenkins  
 
 
Priority: 
  Blocker  
 
 
Reporter: 
 Rohit Goel  
 

  
 
 
 
 

 
 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  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  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  INFO: P4: Invalid credentials. Giving up...