feat: Add basic jenkinsfile

This commit is contained in:
Araozu 2024-10-06 20:29:28 -05:00
parent 072e234bad
commit a0a8ebdfa6

29
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,29 @@
pipeline {
agent {
docker {
image 'golang:1.23'
}
}
stages {
stage('Install deps') {
steps {
sh 'go mod tidy'
}
}
stage('Build binary') {
steps {
sh 'go build main.go'
}
}
stage('???') {
steps {
sh 'echo "TODO: call docker compose up"'
}
}
stage('Profit') {
steps {
sh 'echo "done"'
}
}
}
}