Files
JenkinsGoTest/jenkinsfile
Bram Prieshof 06e25aa871
All checks were successful
GiteaTest/JenkinsGoTest/pipeline/head This commit looks good
added JenkinsFile
2021-01-05 01:04:16 +01:00

13 lines
332 B
Plaintext

pipeline {
agent { label 'golang' }
stages {
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
}
}
}
}