Skip to content

Commit 8e054bc

Browse files
authored
chore: refactored jenkins code (#272)
1 parent d7935e3 commit 8e054bc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

deploy/jenkinsfile/pulse-alerts-cron/prod-deployment.jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pipeline {
22
agent {
3-
node { label 'pulse-artifact-build-default-ec2-fleet' }
3+
node { label 'ec2-pulse-deployment-fleet' }
44
}
55

66
options {

deploy/jenkinsfile/pulse-server/pulse-server-prod-deployment.jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ pipeline {
9393
success {
9494
script {
9595
wrap([$class: 'BuildUser']) {
96-
def message = "<!channel> Pulse Alerts Cron version *${ARTIFACT_VERSION}* deployed on production by ${BUILD_USER_EMAIL}\n" +
96+
def message = "<!channel> Pulse Server version *${ARTIFACT_VERSION}* deployed on production by ${BUILD_USER_EMAIL}\n" +
9797
"<${env.BUILD_URL}|${env.JOB_NAME} ${env.BUILD_DISPLAY_NAME}>"
9898
def channel = "${env.DEPLOYMENT_SLACK_CHANNEL}"
9999
slackSend(teamDomain: 'dreamsports.enterprise', channel: channel, color: 'good', message: message, tokenCredentialId: 'slack-creds', botUser: true)
@@ -102,7 +102,7 @@ pipeline {
102102
}
103103
failure {
104104
script {
105-
def message = "<!channel> Pulse Alerts Cron version *${ARTIFACT_VERSION}* deployment failed on production\n" +
105+
def message = "<!channel> Pulse Server version *${ARTIFACT_VERSION}* deployment failed on production\n" +
106106
"<${env.BUILD_URL}|${env.JOB_NAME} ${env.BUILD_DISPLAY_NAME}>"
107107
def channel = "${env.DEPLOYMENT_SLACK_CHANNEL}"
108108
slackSend(teamDomain: 'dreamsports.enterprise', channel: channel, color: 'danger', message: message, tokenCredentialId: 'slack-creds', botUser: true)

0 commit comments

Comments
 (0)