From a860ea39ebeea5b8e8fce95ad61457fa84c2e159 Mon Sep 17 00:00:00 2001 From: "Joshua C. Forest" Date: Thu, 28 Oct 2021 13:01:11 -0400 Subject: [PATCH] run the deploy as the new bespoke role --- deploy.Jenkinsfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy.Jenkinsfile b/deploy.Jenkinsfile index f4f873e..7abcd19 100644 --- a/deploy.Jenkinsfile +++ b/deploy.Jenkinsfile @@ -20,7 +20,9 @@ pipeline { stages { stage('deploy') { steps { - sh "make serverless-deploy.${params.ENVIRONMENT}" + withAWS(role:'r-builds-deploy') { + sh "make serverless-deploy.${params.ENVIRONMENT}" + } } } }