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 {
|
stages {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
|
cleanWs()
|
||||||
steps {
|
steps {
|
||||||
sh '''export PATH=$PATH:/usr/local/go/bin
|
sh '''export PATH=$PATH:/usr/local/go/bin
|
||||||
go build -o "HelloWorld-amd64$BUILD_DISPLAY_NAME"'''
|
go build -o "HelloWorld-amd64$BUILD_DISPLAY_NAME"'''
|
||||||
|
|||||||
Reference in New Issue
Block a user