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'