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

fix

parent c207cdfc
No related branches found
No related tags found
No related merge requests found
......@@ -3,32 +3,29 @@ pipeline {
tools {
go 'go-1.16'
}
steps {
git branch: 'staging',
credentialsId: 'tucker-gitlab-login',
url: 'https://gitlab.cs.umd.edu/dawn/go-backend/dawn-user.git'
sh "ls -lat"
}
stages {
stage('build new dawn-cli') {
git branch: 'main',
steps {
git branch: 'main',
credentialsId: 'tucker-gitlab-login',
url: 'https://gitlab.cs.umd.edu/dawn/go-backend/dawn-cli/-/tree/main'
sh """
cd dawn-cli
go build
cp dawn-cli /home/tucker.siegel/bin/dawn-cli
cd ..
"""
sh """
cd dawn-cli
go build
cp dawn-cli /home/tucker.siegel/bin/dawn-cli
cd ..
"""
}
}
stage('teardown') {
sh """
/home/tucker.siegel/bin/dawn-cli teardown
"""
steps {
sh """
/home/tucker.siegel/bin/dawn-cli teardown
"""
}
}
stage('cleanup old images') {
......
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