feat 编译时插桩
This commit is contained in:
3
deploy/Jenkinsfile
vendored
3
deploy/Jenkinsfile
vendored
@@ -58,12 +58,11 @@ pipeline {
|
|||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh """
|
sh """
|
||||||
go install github.com/DataDog/orchestrion@latest
|
|
||||||
export GOPROXY=https://goproxy.cn,direct
|
export GOPROXY=https://goproxy.cn,direct
|
||||||
export CGO_ENABLED=0
|
export CGO_ENABLED=0
|
||||||
export GOOS=linux
|
export GOOS=linux
|
||||||
export GOARCH=amd64
|
export GOARCH=amd64
|
||||||
|
go install github.com/DataDog/orchestrion@latest
|
||||||
orchestrion go build -o ${env.APP_NAME} .
|
orchestrion go build -o ${env.APP_NAME} .
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user