read build ID from db in commonplace, command to store build ID to db (bug 1083185)
Merge pull request #2718 from ngokevin/buildid

read build ID from db in commonplace, command to store build ID to db (bug 1083185)