Files
JenkinsGoTest/jenkinsfile
Bram Prieshof 6dd5ffc4b5
Some checks failed
GiteaTest/JenkinsGoTest/pipeline/head There was a failure building this commit
Fixed jenkins file
2021-01-05 01:17:03 +01:00

14 lines
350 B
Plaintext

pipeline {
agent { label 'golang' }
stages {
cleanWs()
stage('Build') {
steps {
sh '''export PATH=$PATH:/usr/local/go/bin
go build -o "HelloWorld-amd64$BUILD_DISPLAY_NAME"'''
archiveArtifacts artifacts: 'HelloWorld-amd64*', followSymlinks: false
}
}
}
}