summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Laine <jeremy.laine@m4x.org>2008-05-21 13:19:52 +0000
committerJeremy Laine <jeremy.laine@m4x.org>2008-05-21 13:19:52 +0000
commitb60d9d85853919d8b5c22332d3562bc530eaa150 (patch)
tree9a0774c375059acb2e330ae52ba9ae86d38fbdc1
parent33f7b07fc5083c5951fc4dbbd64409752bde7c83 (diff)
oestats-client.bbclass: report METADATA_BRANCH variable
-rw-r--r--classes/oestats-client.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/oestats-client.bbclass b/classes/oestats-client.bbclass
index c05ede481f..ed81a0377e 100644
--- a/classes/oestats-client.bbclass
+++ b/classes/oestats-client.bbclass
@@ -44,7 +44,7 @@ def oestats_send(server, action, vars = {}, files = {}):
# build headers
headers = {
- "User-agent": "oestats-client/0.3",
+ "User-agent": "oestats-client/0.4",
"Content-type": "multipart/form-data; boundary=%s" % bound,
"Content-length": str(len(body))}
@@ -66,6 +66,7 @@ def oestats_start(server, builder, d):
try:
data = oestats_send(server, "/builds/", {
'builder': builder,
+ 'branch': bb.data.getVar('METADATA_BRANCH', d, True),
'revision': bb.data.getVar('METADATA_REVISION', d, True),
'machine': bb.data.getVar('MACHINE', d, True),
'distro': bb.data.getVar('DISTRO', d, True),