diff --git a/client-api/Jenkinsfile b/client-api/Jenkinsfile index 1b27ae7..9b35ed0 100644 --- a/client-api/Jenkinsfile +++ b/client-api/Jenkinsfile @@ -33,7 +33,7 @@ pipeline { stages { stage('环境检查') { steps { - sh 'which sshpass || (sudo apt-get update && sudo apt-get install -y sshpass)' + sh 'sshpass -V' } }