# 91porn Project Instructions - The workspace instructions in `/home/zhufei/code/AGENTS.md` also apply here. - Project-local credentials are stored in `.env`. Load them with `set -a; source .env; set +a` without printing values. - Besides shared GitLab, Jenkins, and ZenTao settings, `.env` contains: - `PORN91_TEST_H5_URL` - `PORN91_TEST_ADMIN_URL` - `PORN91_TEST_ADMIN_USERNAME` - `PORN91_TEST_ADMIN_PASSWORD` - `PORN91_TEST_ADMIN_VERIFICATION_CODE` - Never print, log, commit, or copy credential values into user-visible output. - Keep `.env` ignored by Git with file mode `600`. ## Backend commit format - Use the following commit-message format for 91porn backend changes: ```text [AI] type: concise description ``` - Use the appropriate Conventional Commit type, such as `feat`, `fix`, `refactor`, `test`, or `docs`. - Example: ```text [AI] feat: 新增短视频全局推荐环形队列 ``` ## Jenkins deployment - Jenkins job: `91PORN` - This is a parameterized job: - `BUILD_BRANCHE`: Git branch to build. - `BUILD_ITEM`: service/artifact to build and deploy. - Supported `BUILD_ITEM` values: - `app`: App/H5 backend API service. - `web`: management backend API service. - `skd`: scheduled-job service. - `swagger`: Swagger artifact. - Changes that affect App/H5 APIs and scheduled jobs, such as the short-video recommendation queue, require separate `app` and `skd` builds. - Do not trigger a Jenkins build unless the user explicitly asks for deployment or build execution.