use test attribute as build version

Change-Id: I38f11ed0b1ace16892e99e190f097b021ec6dc8d
Reviewed-on: http://review.couchbase.org/38027
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
Tested-by: buildbot <build@couchbase.com>