From fb14aa6c9398f0dd0ed96218d5dc8eb7ccf0831a Mon Sep 17 00:00:00 2001 From: Andreas Wilson <41663792+andrwils@users.noreply.github.com> Date: Fri, 26 Jan 2024 15:11:13 -0800 Subject: [PATCH] Deployment intention location --- pipelines/shared/Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pipelines/shared/Jenkinsfile b/pipelines/shared/Jenkinsfile index e1c231a..5cf9b16 100644 --- a/pipelines/shared/Jenkinsfile +++ b/pipelines/shared/Jenkinsfile @@ -85,7 +85,7 @@ pipeline { script { try { echo 'Do development deployment' - intention = new BrokerIntention(readJSON(file: "app/intention.json")) + intention = new BrokerIntention(readJSON(file: "app/.jenkins/deployment-intention.json")) intention.setEventDetails( userName: env.CAUSE_USER_ID, url: env.BUILD_URL, @@ -192,7 +192,7 @@ pipeline { script { try { echo 'Do test deployment' - intention = new BrokerIntention(readJSON(file: "app/intention.json")) + intention = new BrokerIntention(readJSON(file: "app/.jenkins/deployment-intention.json")) intention.setEventDetails( userName: "${env.TEST_DEPLOYMENT_APPROVER}", url: env.BUILD_URL, @@ -309,7 +309,7 @@ pipeline { script { try { echo 'Do production deployment' - intention = new BrokerIntention(readJSON(file: "app/intention.json")) + intention = new BrokerIntention(readJSON(file: "app/.jenkins/deployment-intention.json")) intention.setEventDetails( userName: "${env.PRODUCTION_DEPLOYMENT_APPROVER}", url: env.BUILD_URL,