fix: mobile server deploy — Jenkins crumb, APK build deps
Jenkins 트리거에 cookie+crumb 세션을 사용하고, 서버 APK 빌드 시 root npm ci를 실행하며 server-setup 스크립트와 Mobile job 설치를 보완한다. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -57,8 +57,13 @@ fi
|
||||
log "google-services.json 확인"
|
||||
"$ROOT/scripts/ensure-android-google-services.sh"
|
||||
|
||||
if [[ ! -d "$ROOT/node_modules/vite" ]]; then
|
||||
log "npm ci (root dependencies)"
|
||||
(cd "$ROOT" && npm ci --ignore-scripts 2>/dev/null || npm install)
|
||||
fi
|
||||
|
||||
log "cap:sync"
|
||||
npm run cap:sync
|
||||
(cd "$ROOT/app" && npm run build && bash ../scripts/ensure-android-google-services.sh && npx cap sync)
|
||||
|
||||
log "assembleRelease"
|
||||
(cd "$ROOT/app/android" && ./gradlew assembleRelease --no-daemon)
|
||||
|
||||
Reference in New Issue
Block a user