[JIRA] (JENKINS-49646) FileOnMasterPrivateKeySource not serializable

2018-05-18 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick resolved as Duplicate  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-49646  
 
 
  FileOnMasterPrivateKeySource not serializable   
 

  
 
 
 
 

 
Change By: 
 Jesse Glick  
 
 
Status: 
 Open Resolved  
 
 
Resolution: 
 Duplicate  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-49646) FileOnMasterPrivateKeySource not serializable

2018-02-20 Thread j...@externl.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Joe George commented on  JENKINS-49646  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: FileOnMasterPrivateKeySource not serializable   
 

  
 
 
 
 

 
 I could see a few scenarios where it's necessary to have the credentials on disk.  
 
If the git command uses an install git binary. 
When the ssh-agent plugin uses the fall back ssh-agent binary to load keys. 
    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-49646) FileOnMasterPrivateKeySource not serializable

2018-02-20 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Oleg Nenashev updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-49646  
 
 
  FileOnMasterPrivateKeySource not serializable   
 

  
 
 
 
 

 
Change By: 
 Oleg Nenashev  
 
 
Component/s: 
 pipeline  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-49646) FileOnMasterPrivateKeySource not serializable

2018-02-20 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Oleg Nenashev commented on  JENKINS-49646  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: FileOnMasterPrivateKeySource not serializable   
 

  
 
 
 
 

 
 Apparently this use-case is documented here: https://jenkins.io/doc/pipeline/steps/ssh-agent/ I do not see why Pipeline would need to persist credentials object on the disk in such case.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-49646) FileOnMasterPrivateKeySource not serializable

2018-02-20 Thread ben...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 bentoi created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-49646  
 
 
  FileOnMasterPrivateKeySource not serializable   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Stephen Connolly  
 
 
Components: 
 ssh-credentials-plugin  
 
 
Created: 
 2018-02-20 11:17  
 
 
Priority: 
  Major  
 
 
Reporter: 
 bentoi  
 

  
 
 
 
 

 
 We are seeing sporadic failures in our pipeline which is using ssh credentials for the git and sshagent steps. Our pipeline is along those lines: 

 

node {
git credentialsId: '...', url: '...'
    sshagent (credentials: ['...']) {
        sh '...'
    }    
} 

 I believe this occurs on the git step but I can't be totally sure this is the case as the exception is always printed out at the bottom of the console log. Below is the exception we see on the console when the job ends. Any help to track down this issue would be greatly appreciated. 

 

an exception which occurred:
	in field com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey.privateKeySource
	in object com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey@ab46eb8d
	in field com.cloudbees.groovy.cps.impl.BlockScopeEnv.locals
	in object com.cloudbees.groovy.cps.impl.BlockScopeEnv@3e36df51
	in field com.cloudbees.groovy.cps.impl.CallEnv.caller
	in object com.cloudbees.groovy.cps.impl.FunctionCallEnv@7f48ef93
	in field com.cloudbees.groovy.cps.impl.ProxyEnv.parent
	in object com.cloudbees.groovy.cps.impl.BlockScopeEnv@7d0b3e0a
	in field com.cloudbees.groovy.cps.impl.CallEnv.caller
	in object com.cloudbees.groovy.cps.impl.FunctionCallEnv@6c74a7df
	in field