[JIRA] [ec2-plugin] (JENKINS-29921) Failed to get git executable During Git Installation

2015-08-14 Thread jcder...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jesse DeRose commented on  JENKINS-29921 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Failed to get git executable During Git Installation  
 
 
 
 
 
 
 
 
 
 
Correct, I'm automating the Git installation on my slaves via JGit. The slaves do not already have Git installed on them without me explicitly installing it via the slave's init script (which I removed for the purpose of testing installation via JGit). 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [ec2-plugin] (JENKINS-29921) Failed to get git executable During Git Installation

2015-08-14 Thread jcder...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jesse DeRose commented on  JENKINS-29921 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Failed to get git executable During Git Installation  
 
 
 
 
 
 
 
 
 
 
JGit will work for our implementation, I was just hoping to get the actual Git client working too. Assuming the default ec2-user user can't get admin permissions in the /usr/bin directory, is there another user I can configure Jenkins to use for the Git client installation? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [ec2-plugin] (JENKINS-29921) Failed to get git executable During Git Installation

2015-08-14 Thread jcder...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jesse DeRose commented on  JENKINS-29921 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Failed to get git executable During Git Installation  
 
 
 
 
 
 
 
 
 
 
FYI, my Jenkins slaves are running: 
java version 1.7.0_85 OpenJDK Runtime Environment (amzn-2.6.1.3.61.amzn1-x86_64 u85-b01) OpenJDK 64-Bit Server VM (build 24.85-b03, mixed mode) 
As for the unreleased git plugin, I installed it and received this message during my Jenkins build (using the Git client rather than JGit): 
Failed to get git executable: java.io.IOException: Failed to create a temp file on /usr/bin/git 
It looks like it's trying to create a temp file in the Path to Git Executable path (which I currently have listed as /usr/bin/git since that's where the Git executable lives on my Jenkins slaves). However, if I remove the Git Client installation options (and just use JGit), the build finishes successfully. Any ideas why the Git client wouldn't work but JGit would here? (I assume it's due to the Path to Git Executable I've set, since that's where it's erroring out above.) 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [ec2-plugin] (JENKINS-29921) Failed to get git executable During Git Installation

2015-08-14 Thread jcder...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jesse DeRose commented on  JENKINS-29921 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Failed to get git executable During Git Installation  
 
 
 
 
 
 
 
 
 
 
Addendum: The EC2 slave default user (e.g. ec2-user) does not have write permissions in the /usr/bin directory. If Jenkins is using the ec2-user user for the Git installation process on the slave, this could why I'm seeing the Failed to create a temp file on /usr/bin/git error. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [ec2-plugin] (JENKINS-29921) Failed to get git executable During Git Installation

2015-08-13 Thread jcder...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jesse DeRose commented on  JENKINS-29921 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Failed to get git executable During Git Installation  
 
 
 
 
 
 
 
 
 
 
The only version of Java running on the Jenkins master is: 
java version 1.7.0_79 OpenJDK Runtime Environment (amzn-2.5.5.1.59.amzn1-x86_64 u79-b14) OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode) 
Do I need a different version in order for JGit to function? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [ec2-plugin] (JENKINS-29921) Failed to get git executable During Git Installation

2015-08-12 Thread jcder...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jesse DeRose commented on  JENKINS-29921 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Failed to get git executable During Git Installation  
 
 
 
 
 
 
 
 
 
 
Git has not been configured elsewhere in the global configuration. 
I looked for a JGit plugin but did not find it - is this something that comes pre-installed with Jenkins core? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [ec2-plugin] (JENKINS-29921) Failed to get git executable During Git Installation

2015-08-12 Thread jcder...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jesse DeRose created an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Jenkins /  JENKINS-29921 
 
 
 
  Failed to get git executable During Git Installation  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 
 Francis Upton 
 
 
 

Components:
 

 ec2-plugin, git-client-plugin 
 
 
 

Created:
 

 12/Aug/15 8:42 PM 
 
 
 

Environment:
 

 Jenkins v1.620, Git client plugin v1.18.0 
 
 
 

Priority:
 
  Minor 
 
 
 

Reporter:
 
 Jesse DeRose 
 
 
 
 
 
 
 
 
 
 
Setup: I use the ec2 plugin to spin up slave instances (running Amazon Linux) then install Git via the Git plugin (using the command sudo yum -y install git). 
Problem: When Jenkins attempts to install Git on the EC2 slave via the Git plugin, it returns the error Failed to get git executable. I cannot find anyone else with this error online or in these tickets. I triple-checked the executable path (/usr/bin/git) and tool home (/usr/bin). I can successfully run the command manually on the slave (via the CLI) and I can successfully run the command via the Init script portion of the ec2 plugin.  
 
 
 
 
 
 
 
 
 
 
 
 

[JIRA] [ec2-plugin] (JENKINS-29921) Failed to get git executable During Git Installation

2015-08-12 Thread jcder...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jesse DeRose commented on  JENKINS-29921 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Failed to get git executable During Git Installation  
 
 
 
 
 
 
 
 
 
 
JGit did not work either. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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.