From 0558c5a2ee105499df39fea05b58c0263472cbd1 Mon Sep 17 00:00:00 2001 From: Leon Sandøy Date: Sun, 18 Nov 2018 01:59:00 +0100 Subject: Passing the secret env vars into the script --- scripts/deploy-azure.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts/deploy-azure.sh') diff --git a/scripts/deploy-azure.sh b/scripts/deploy-azure.sh index 5a7f895e..47573879 100755 --- a/scripts/deploy-azure.sh +++ b/scripts/deploy-azure.sh @@ -2,6 +2,11 @@ cd .. +export SALTAPI_USER=$2 +export SALTAPI_PASS=$3 +export SALTAPI_URL=$4 +export SALTAPI_EAUTH=$5 + # Build and deploy on master branch, only if not a pull request if [[ ($BUILD_SOURCEBRANCHNAME == 'master') && ($SYSTEM_PULLREQUEST_PULLREQUESTID == '') ]]; then echo "Building image" -- cgit v1.2.3