Skip to content
Snippets Groups Projects
Commit ae413206 authored by Tucker Gary Siegel's avatar Tucker Gary Siegel
Browse files

add email service

parent b160bcce
No related branches found
No related tags found
No related merge requests found
pipeline {
agent { label 'node2' }
tools { nodejs 'node' }
stages {
stage('notify') {
steps {
script {
slack_send_start()
}
}
}
stage('build') {
steps {
git branch: 'staging',
credentialsId: 'tgsiegel-gitlab-ssh',
url: 'git@gitlab.cs.umd.edu:dawn/go-backend/dawn-email.git'
sh '''
sudo docker build -t docker.registry.dawn.int:5000/dawn/dawn-email:latest . -f Dockerfile
sudo docker push docker.registry.dawn.int:5000/dawn/dawn-email:latest
'''
}
}
stage('deploy') {
steps {
upgradeKubernetes('dawn-email', 'dev')
}
}
}
post {
success {
script {
slack_send_success()
}
}
failure {
script {
slack_send_failure()
}
}
}
}
pipeline {
agent { label 'node2' }
tools { nodejs 'node' }
stages {
stage('notify') {
steps {
script {
slack_send_start()
}
}
}
stage('build') {
steps {
git branch: 'staging',
credentialsId: 'tgsiegel-gitlab-ssh',
url: 'git@gitlab.cs.umd.edu:dawn/go-backend/dawn-email.git'
sh '''
sudo docker build -t docker.registry.dawn.int:5000/dawn/dawn-email:latest . -f Dockerfile
sudo docker push docker.registry.dawn.int:5000/dawn/dawn-email:latest
'''
}
}
stage('deploy') {
steps {
upgradeKubernetes('dawn-email', 'staging')
}
}
}
post {
success {
script {
slack_send_success()
}
}
failure {
script {
slack_send_failure()
}
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment