Skip to content

Commit

Permalink
add jenkinsfile (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
cagriefegunay committed Oct 16, 2022
1 parent 406749f commit 36cd2dc
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
pipeline {

agent any

tools { go '1.19.2' }

stages {
stage('Verify Go is installed') {
steps {
sh 'go version'
}
}

stage('Build') {
steps {
sh 'go build -v ./...'
}
}

stage('Test') {
steps {
sh 'go test -v ./...'
}
}
}
}

0 comments on commit 36cd2dc

Please sign in to comment.