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:
Macbook
2026-06-14 16:39:42 +09:00
parent f34104b721
commit 7611146cbf
5 changed files with 97 additions and 14 deletions
+6 -1
View File
@@ -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)