From b5d841562da85e2fa2d624fc7c12e89e32f45e64 Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Thu, 18 Jun 2015 10:02:15 +1000 Subject: [PATCH] Getting OFN commit should retrieve from meta-data --- script/ci/includes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/ci/includes.sh b/script/ci/includes.sh index 5bfe5b836f..497959d33b 100644 --- a/script/ci/includes.sh +++ b/script/ci/includes.sh @@ -25,7 +25,7 @@ function set_ofn_commit { } function get_ofn_commit { - echo `git rev-parse $BUILDKITE_BRANCH` + echo `buildkite-agent meta-data get "openfoodnetwork:git:commit"` } function checkout_ofn_commit {