From a0a8ebdfa6253458821fd20f199c898538be7064 Mon Sep 17 00:00:00 2001 From: Araozu Date: Sun, 6 Oct 2024 20:29:28 -0500 Subject: [PATCH] feat: Add basic jenkinsfile --- Jenkinsfile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Jenkinsfile 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"' + } + } + } +}