@@ -85,9 +85,7 @@ pipeline {
'''
echo '构建前端'
sh '''
- bash
- fnm current
- cd h5 && cnpm install && cnpm run build:test-on-server
+ bash -c cd h5 && cnpm install && cnpm run build:test-on-server
echo 'test step执行完了'
}