fix: PYTHONUTF8=1 强制 UTF-8 文件系统编码

这个提交包含在:
xuqm 2026-07-09 15:46:56 +08:00
父节点 5758f5ba07
当前提交 b964874fdb

5
Jenkinsfile vendored
查看文件

@ -17,9 +17,10 @@ pipeline {
stage('Build Docs') {
steps {
bat '''
chcp 65001 > nul
set PYTHONUTF8=1
set PYTHONIOENCODING=utf-8
pip3 install mkdocs-material --quiet
python -c "import sys; sys.stdout.reconfigure(encoding='utf-8'); import subprocess; subprocess.run([sys.executable, '-X', 'utf8', '-m', 'mkdocs', 'build', '--clean', '--site-dir', 'site'])"
python -m mkdocs build --clean --site-dir site
'''
}
}