On 2015-11-08 13:24, Kevin O'Connor wrote:
On Sun, Nov 08, 2015 at 11:44:26AM +0000, John Lewis wrote:
On 2015-11-03 13:23, Kevin O'Connor wrote:
On Tue, Nov 03, 2015 at 01:09:39PM +0000, John Lewis wrote:
On 2015-11-03 13:02, Kevin O'Connor wrote:
That log shows that git wasn't found during the build. Is there something in Jenkins that prevents the build from accessing git or is git not in the path?
It's more or less a default Jenkins install, so Git mustn't be available inside the workspace. I'll see what I can do about that. I guess it's one to watch out for in future.
What does the build output with the patch below?
CWD=/var/lib/jenkins/jobs/SeaBIOS/workspace PATH=/sbin:/usr/sbin:/bin:/usr/bin FILES=['docs', 'vgasrc', 'COPYING.LESSER', 'scripts', 'README', 'COPYING', '.config', 'Makefile', 'src', 'out', '.gitignore', '.git', '.config.old', 'buildversion.patch']
Odd. Can you report the output with the patch below instead?
CWD=/var/lib/jenkins/jobs/SeaBIOS/workspace PATH=/sbin:/usr/sbin:/bin:/usr/bin FILES=['docs', 'vgasrc', 'COPYING.LESSER', 'scripts', 'README', 'COPYING', '.config', 'Makefile', 'src', 'out', '.gitignore', '.git', '.config.old'] try git ['git', 'describe', '--tags', '--long', '--dirty'] git exc: Traceback (most recent call last): File "./scripts/buildversion.py", line 24, in git_version ver = subprocess.check_output(params).decode().strip() AttributeError: 'module' object has no attribute 'check_output'
John.