feat 编译时插桩

This commit is contained in:
2026-01-24 11:38:33 +08:00
parent 6c124f9f3f
commit 44f89f9981
3 changed files with 26 additions and 2 deletions

3
deploy/Jenkinsfile vendored
View File

@@ -58,12 +58,13 @@ pipeline {
}
steps {
sh """
go install github.com/DataDog/orchestrion@latest
export GOPROXY=https://goproxy.cn,direct
export CGO_ENABLED=0
export GOOS=linux
export GOARCH=amd64
go build -o ${env.APP_NAME} .
orchestrion go build -o ${env.APP_NAME} .
"""
}
}