Fixed error and updated jenkinsfile
Some checks failed
GiteaTest/JenkinsGoTest/pipeline/head There was a failure building this commit

This commit is contained in:
2021-01-05 01:15:36 +01:00
parent e1a6c2de2e
commit 9c47960d0a
2 changed files with 2 additions and 1 deletions

View File

@@ -3,6 +3,7 @@ pipeline {
stages {
stage('Build') {
cleanWs()
steps {
sh '''export PATH=$PATH:/usr/local/go/bin
go build -o "HelloWorld-amd64$BUILD_DISPLAY_NAME"'''