Fixed jenkins file
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:
@@ -2,8 +2,8 @@ pipeline {
|
|||||||
agent { label 'golang' }
|
agent { label 'golang' }
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
cleanWs()
|
||||||
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