接入 E2E 门禁并固定 Playwright 执行版本

This commit is contained in:
2026-03-03 14:06:40 +08:00
parent fe3016d710
commit c4c1cb400b
5 changed files with 20 additions and 4 deletions
Vendored
+12
View File
@@ -32,6 +32,18 @@ pipeline {
}
}
stage('E2E Gate') {
options {
timeout(time: 20, unit: 'MINUTES')
}
steps {
retry(2) {
sh 'npm run test:e2e:install'
}
sh 'npm run test:e2e'
}
}
stage('Build Docker Image') {
steps {
sh "docker build --build-arg NEXT_PUBLIC_AMAP_API_KEY=${AMAP_KEY} -t ${APP_NAME}:${BUILD_NUMBER} -t ${APP_NAME}:latest ."