feat 编译时插桩
This commit is contained in:
2
deploy/Jenkinsfile
vendored
2
deploy/Jenkinsfile
vendored
@@ -57,6 +57,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
|
script {
|
||||||
def goPath = sh(script: 'go env GOPATH', returnStdout: true).trim()
|
def goPath = sh(script: 'go env GOPATH', returnStdout: true).trim()
|
||||||
def orchestrionPath = "${goPath}/bin/orchestrion"
|
def orchestrionPath = "${goPath}/bin/orchestrion"
|
||||||
sh """
|
sh """
|
||||||
@@ -70,6 +71,7 @@ pipeline {
|
|||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Push Docker Image') {
|
stage('Push Docker Image') {
|
||||||
agent any
|
agent any
|
||||||
|
|||||||
Reference in New Issue
Block a user