diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..66f79fc --- /dev/null +++ b/Jenkinsfile @@ -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"' + } + } + } +}