-
Tucker Gary Siegel authoredTucker Gary Siegel authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
staging 815 B
pipeline {
agent any
tools {
go 'go-1.16'
}
options {
buildDiscarder logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '5', daysToKeepStr: '', numToKeepStr: '5')
}
stages {
stage('checkout') {
steps {
git branch: 'staging',
credentialsId: 'tucker-gitlab-login',
url: 'https://gitlab.cs.umd.edu/dawn/go-backend/dawn-gdd.git'
sh "ls -lat"
}
}
stage('build') {
steps {
sh """
/home/tucker.siegel/bin/dawn-cli build-image -p .
"""
}
}
stage('update backend services') {
steps {
sh """
cd /home/tucker.siegel/go/dawn-cli
/home/tucker.siegel/bin/dawn-cli deploy
"""
}
}
}
}