From 2f15df8a2997adc8c2f4a9a97660f8930ad2d376 Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Fri, 23 Dec 2011 12:28:34 -0800 Subject: [PATCH] add adapters for exercises jenkins integration) Change-Id: If15570612e784d6a1b9fbd54c83f9cd3a9a36941 --- tools/jenkins/adapters/swift.sh | 8 ++++++++ tools/jenkins/adapters/volumes.sh | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100755 tools/jenkins/adapters/swift.sh create mode 100755 tools/jenkins/adapters/volumes.sh diff --git a/tools/jenkins/adapters/swift.sh b/tools/jenkins/adapters/swift.sh new file mode 100755 index 0000000000..c1362ee402 --- /dev/null +++ b/tools/jenkins/adapters/swift.sh @@ -0,0 +1,8 @@ +#!/bin/bash +# Echo commands, exit on error +set -o xtrace +set -o errexit + +TOP_DIR=$(cd ../../.. && pwd) +HEAD_IP=`cat $TOP_DIR/addresses | grep HEAD | cut -d "=" -f2` +ssh stack@$HEAD_IP 'cd devstack && source openrc && cd exercises && ./swift.sh' diff --git a/tools/jenkins/adapters/volumes.sh b/tools/jenkins/adapters/volumes.sh new file mode 100755 index 0000000000..ec292097fa --- /dev/null +++ b/tools/jenkins/adapters/volumes.sh @@ -0,0 +1,8 @@ +#!/bin/bash +# Echo commands, exit on error +set -o xtrace +set -o errexit + +TOP_DIR=$(cd ../../.. && pwd) +HEAD_IP=`cat $TOP_DIR/addresses | grep HEAD | cut -d "=" -f2` +ssh stack@$HEAD_IP 'cd devstack && source openrc && cd exercises && ./volumes.sh'