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

change

parent c1182687
No related branches found
No related tags found
No related merge requests found
pipeline { backendServicePipeline "https://gitlab.cs.umd.edu/dawn/go-backend/dawn-gdd.git", "staging"
agent any \ No newline at end of file
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'
}
}
// stage('test') {
// steps {
// sh """
// dawn-cli test
// """
// }
// }
stage('build') {
steps {
sh """
dawn-cli build-image -p .
"""
}
}
stage('update backend services') {
steps {
git branch: 'main',
credentialsId: 'tucker-gitlab-login',
url: 'https://gitlab.cs.umd.edu/dawn/go-backend/dawn-cli'
sh """
dawn-cli deploy
"""
}
}
}
}
\ No newline at end of file
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