자동빌드 배포 오류 수정

This commit is contained in:
Macbook
2026-06-15 15:44:43 +09:00
parent 6720a5ed46
commit cab5365b19
14 changed files with 499 additions and 23 deletions
+10
View File
@@ -56,6 +56,16 @@ if curl_get "${JOB_API}/lastBuild/api/json?tree=building" 2>/dev/null | grep -q
exit 0
fi
if curl_get "${JENKINS_URL}/queue/api/json?tree=items[task[name]]" 2>/dev/null | grep -q "\"name\":\"${JENKINS_JOB}\""; then
log "[SKIP] Jenkins 큐에 동일 Job 대기 중"
exit 0
fi
WORK_TREE="${WORK_TREE:-/Users/aidev/apps/goldenChart}"
if [[ -x "$WORK_TREE/scripts/update-desktop-source-state.sh" ]]; then
WORK_TREE="$WORK_TREE" "$WORK_TREE/scripts/update-desktop-source-state.sh" || true
fi
parse_crumb_field() {
python3 -c "import sys,json; print(json.load(sys.stdin).get('crumbRequestField',''))" 2>/dev/null || true
}