#!/bin/bash

ACCOUNT=$1
ENVIRONMENT=$2

tcs jenkins build --parameter GIT_COMMIT=`git rev-parse HEAD` --parameter ENVIRONMENT=${ENVIRONMENT} dta-python-lambda-example-${ACCOUNT}-deploy

echo "Waiting for jenkins job to run and fail"
sleep 10
