From af646f3997967ca73bbcd4896b46092d910508e6 Mon Sep 17 00:00:00 2001 From: Timothy Le Bon Date: Wed, 11 Dec 2024 18:50:37 +0100 Subject: [PATCH] chore: updating wirebot secret --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index fdb327a996a..3ef83257a61 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -132,10 +132,10 @@ pipeline { } } catch (e) { def reason = sh returnStdout: true, script: 'cat deployment.log || echo ""' - wireSend secret: "$jenkinsbot_secret", message: "❌ **Deployment failed on** ${webappApplicationPath}\n${commit_msg}\n**Reason:** ${e}\n${reason}" + wireSend secret: env.WIRE_BOT_SECRET, message: "❌ **Deployment failed on** ${webappApplicationPath}\n${commit_msg}\n**Reason:** ${e}\n${reason}" } } - wireSend secret: "$jenkinsbot_secret", message: "✅ **Deployment successful on** ${webappApplicationPath}\n${commit_msg}" + wireSend secret: env.WIRE_BOT_SECRET, message: "✅ **Deployment successful on** ${webappApplicationPath}\n${commit_msg}" } } @@ -148,7 +148,7 @@ pipeline { } post { success { - wireSend secret: "$jenkinsbot_secret", message: "✅ **Build finished for branch '$GIT_BRANCH_WEBAPP'**\n${commit_msg}" + wireSend secret: env.WIRE_BOT_SECRET, message: "✅ **Build finished for branch '$GIT_BRANCH_WEBAPP'**\n${commit_msg}" } failure { script {