Sha256: 011312710743bf57c1a3b870530faacb7fca32da1e826539d5883369535f4fc6

Contents?: true

Size: 1.05 KB

Versions: 40

Compression:

Stored size: 1.05 KB

Contents

#!/bin/bash -e

export PATH=$PATH:$HOME/bin

echo $HOME
echo $PATH
#ls $HOME/bin



if [ "x$RUBY" == "x" ] ; then
  export RUBY=1.9.3
fi

echo "Tests will be run using $RUBY"
#uname -a

SCRATH_DIR=./multiverse_tmp
script_dirname=`dirname $0`

# make sure that we're in the project root
cd "$script_dirname/../../"

#pwd

if [ -x $SCRATH_DIR ] ; then
  echo "found tmp, deleting"
  rm -fr $SCRATH_DIR
fi

mkdir $SCRATH_DIR
cd $SCRATH_DIR

#pwd
if [[ $JOB_NAME =~ "Pangalactic" ]] ; then
  AGENT_LOCATION="../../../../../../Ruby_Agent"
else
  AGENT_LOCATION="../../Ruby_Agent"
fi

git clone --depth=1 git@github.com:newrelic/multiverse.git multiverse
git clone --depth=1 git@github.com:newrelic/rpm_contrib.git rpm_contrib

echo "Looking for Ruby Agent at $AGENT_LOCATION"
#ls -l ../../../../../../
#ls -l /home/hudson/workspace/

if [ -x $AGENT_LOCATION ] ; then
  ln -s $AGENT_LOCATION ./ruby_agent
else
  echo "*********** Ruby_Agent not found ***********"
  exit 1
fi

cd multiverse
#./ci_run.sh

#pwd
#ls -l ../

eval "$(rbenv init -)" || true
rbenv shell $RUBY
script/runner

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
newrelic_rpm-3.14.1.311 test/script/ci_multiverse_runner.sh
newrelic_rpm-3.14.0.305 test/script/ci_multiverse_runner.sh
newrelic_rpm-3.13.2.302 test/script/ci_multiverse_runner.sh
newrelic_rpm-3.13.1.300 test/script/ci_multiverse_runner.sh
newrelic_rpm-3.13.0.299 test/script/ci_multiverse_runner.sh
newrelic_rpm-3.12.1.298 test/script/ci_multiverse_runner.sh
newrelic_rpm-3.12.0.288 test/script/ci_multiverse_runner.sh
newrelic_rpm-3.11.2.286 test/script/ci_multiverse_runner.sh
newrelic_rpm-3.11.1.284 test/script/ci_multiverse_runner.sh
newrelic_rpm-3.11.0.283 test/script/ci_multiverse_runner.sh
newrelic_rpm-3.10.0.279 test/script/ci_multiverse_runner.sh
newrelic_rpm-3.9.9.275 test/script/ci_multiverse_runner.sh
newrelic_rpm-3.9.8.273 test/script/ci_multiverse_runner.sh
newrelic_rpm-3.9.7.266 test/script/ci_multiverse_runner.sh
newrelic_rpm-3.9.6.257 test/script/ci_multiverse_runner.sh
newrelic_rpm-3.9.5.251 test/script/ci_multiverse_runner.sh
newrelic_rpm-3.9.4.245 test/script/ci_multiverse_runner.sh
newrelic_rpm-3.9.3.241 test/script/ci_multiverse_runner.sh
newrelic_rpm-3.9.2.239 test/script/ci_multiverse_runner.sh
newrelic_rpm-3.9.1.236 test/script/ci_multiverse_runner.sh