Source the environment for bundle

This commit is contained in:
Zach Leslie 2018-02-10 11:37:57 -08:00
parent 8e8b618563
commit 8461ee6294

2
Jenkinsfile vendored
View File

@ -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'
}
}
}