From 17c00be0c01f48b4c3fd15c662c950d1189019f5 Mon Sep 17 00:00:00 2001 From: William Deegan Date: Fri, 5 Apr 2013 14:22:48 -0700 Subject: [PATCH] fix ticket 2320. P4Poller was not propagating the PATH from the user who starts the buildbot master. PATH has been added to the short list of environment variables propagated when calling p4 to get changes --- master/buildbot/changes/p4poller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/master/buildbot/changes/p4poller.py b/master/buildbot/changes/p4poller.py index 255570f0e9f..4dbc56ec083 100644 --- a/master/buildbot/changes/p4poller.py +++ b/master/buildbot/changes/p4poller.py @@ -49,7 +49,7 @@ class P4Source(base.PollingChangeSource, util.ComparableMixin): "p4bin", "pollInterval"] env_vars = ["P4CLIENT", "P4PORT", "P4PASSWD", "P4USER", - "P4CHARSET"] + "P4CHARSET" , "PATH"] changes_line_re = re.compile( r"Change (?P\d+) on \S+ by \S+@\S+ '.*'$")