Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
修改JenkinsFile
  • Loading branch information
juemengxin committed Aug 27, 2024
commit 8e26127b8f3498d7fb828cd55e6e77a194c60213
7 changes: 5 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pipeline{
agent any

environment {
GOROOT="/var/jenkins_home/tools/org.jenkinsci.plugins.golang.GolangInstallation/go_1.22/go"
GOROOT="/var/jenkins_home/tools/org.jenkinsci.plugins.golang.GolangInstallation/go_1.22/go"
GOPATH="/var/go"
GOBIN="${env.GOPATH}/bin"
PATH="${env.GOBIN}:${env.GOROOT}/bin:${env.PATH}"
Expand Down Expand Up @@ -41,7 +41,10 @@ pipeline{

}


post {
always {
sh label: '', script: ''
}
success {
emailext (
subject: "SUCCESSFUL: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]'",
Expand Down