Fixed error and updated jenkinsfile
Some checks failed
GiteaTest/JenkinsGoTest/pipeline/head There was a failure building this commit
Some checks failed
GiteaTest/JenkinsGoTest/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -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"'''
|
||||
|
||||
Reference in New Issue
Block a user