From 17632449940f5d1cb53c77cd5f51d3199438c5db Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Thu, 3 Sep 2015 15:57:29 -0400 Subject: [PATCH] Remove Gemfile.lock for experimental puppet unit-test Make sure any existing Gemfile.lock files are removed before running bundler again. Change-Id: I01b20adcaf712681d0b1e274a0b34389179e307a Signed-off-by: Paul Belanger --- jenkins/jobs/puppet-module-jobs.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/jenkins/jobs/puppet-module-jobs.yaml b/jenkins/jobs/puppet-module-jobs.yaml index fa051325b3..96f90fbb94 100644 --- a/jenkins/jobs/puppet-module-jobs.yaml +++ b/jenkins/jobs/puppet-module-jobs.yaml @@ -40,6 +40,7 @@ if [ "$PUPPET_VERSION" != "latest" ]; then export PUPPET_GEM_VERSION="~> $PUPPET_VERSION.0" fi + rm -f Gemfile.lock mkdir .bundled_gems_$PUPPET_VERSION export GEM_HOME=`pwd`/.bundled_gems_$PUPPET_VERSION gem install bundler --no-rdoc --no-ri --verbose