diff --git a/deploy/Jenkinsfile b/deploy/Jenkinsfile index ea542e2..2a8288f 100644 --- a/deploy/Jenkinsfile +++ b/deploy/Jenkinsfile @@ -58,8 +58,8 @@ pipeline { } steps { script { - def goPath = sh(script: 'go env GOPATH', returnStdout: true).trim() - def orchestrionPath = "${goPath}/bin/orchestrion" +// def goPath = sh(script: 'go env GOPATH', returnStdout: true).trim() +// def orchestrionPath = "${goPath}/bin/orchestrion" sh """ export GOPROXY=https://goproxy.cn,direct export CGO_ENABLED=0 @@ -72,9 +72,9 @@ pipeline { ORCH_PATH=\$(which orchestrion) echo "Found orchestrion at: \$ORCH_PATH" - ${orchestrionPath} pin + orchestrion pin - ${orchestrionPath} go build -o ${env.APP_NAME} . + orchestrion go build -o ${env.APP_NAME} . """ } }