diff --git a/Jenkinsfile b/Jenkinsfile index aa90a26..9cbbf34 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -41,6 +41,11 @@ pipeline { } stage('3.打包') { + agent { + docker { + image 'node:20-slim' + } + } steps { sh 'pwd && ls -alh' sh 'node -v'