takezoe / gitbucket-ci-plugin

GitBucket plug-in that adds simple CI ability to GitBucket.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

git command not found in build script

karthikbalu opened this issue · comments

build script does not find installed git and displays not found
../build.sh: 5: ../build.sh: git: not found

Also it cannot find any binary installed on the gitbucket server host

What happens if you explicitly setup PATH in your script?

ie.

   #!/bin/sh
   PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin
   export PATH
   ...