接入 E2E 门禁并固定 Playwright 执行版本
This commit is contained in:
Vendored
+12
@@ -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 ."
|
||||
|
||||
Reference in New Issue
Block a user