-
Type:
Bug
-
Resolution: Not A Defect
-
Priority:
Minor
-
Component/s: ec2-plugin
-
Environment:Jenkins v1.620, Git client plugin v1.18.0
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.