From 8461ee629400fa303ea9be3918ac738d850a9a72 Mon Sep 17 00:00:00 2001 From: Zach Leslie Date: Sat, 10 Feb 2018 11:37:57 -0800 Subject: [PATCH] Source the environment for bundle --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d90aea8..6f667d1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,7 +25,7 @@ pipeline { sh '. .env.sh && bundle exec rake clean' sh '. .env.sh && bundle exec rake build' - sh '[ "$(git rev-list -n 1 $(git tag | tail -n 1 ))" == "$(git rev-list -n 1 HEAD)" ] && bundle exec rake module:push || echo HEAD is not a tag' + sh '. .env.sh && [ "$(git rev-list -n 1 $(git tag | tail -n 1 ))" == "$(git rev-list -n 1 HEAD)" ] && bundle exec rake module:push || echo HEAD is not a tag' } } }