You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
431 B
12 lines
431 B
import re, os
|
|
|
|
# 项目绝对路径
|
|
git_project_env = os.environ.get('JWHT_GIT_PROJECT_DIR')
|
|
git_project_dir = git_project_env if git_project_env else "epmet-saas"
|
|
|
|
# 上一次提交记录文件
|
|
last_deploy_commit_record = os.environ.get('JWHT_LAST_DEPLOY_COMMIT_RECORD')
|
|
commit_record_file_path = last_deploy_commit_record if last_deploy_commit_record else "./lastcommit.txt"
|
|
|
|
print(git_project_dir)
|
|
print(commit_record_file_path)
|