Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 修改worker-agent版本获取方式 #5003

Closed
mingshewhe opened this issue Aug 23, 2021 · 0 comments
Closed

feat: 修改worker-agent版本获取方式 #5003

mingshewhe opened this issue Aug 23, 2021 · 0 comments
Assignees
Labels
area/ci/backend CI 后端issue done Production environment in tencent has been deploy for gray UAT environment in tencent has been deploy for test Test environment in tencent has been deploy grayed uat环境测试通过/test passed for uat stage kind/bug 程序故障Bug,漏洞 tested 测试环境通过/test patest passed for test stage
Milestone

Comments

@mingshewhe
Copy link
Collaborator

mingshewhe commented Aug 23, 2021

目前worker-agent版本每次都需要手工修改com.tencent.devops.agent.AgentVersionKt类,很麻烦也容易遗忘,希望能够在出包的时候自动更新版本。

方案:

在打包的时候,将版本号写入到manifest文件中,然后在com.tencent.devops.agent.AgentVersionKt直接读取manifest中的属性,Package.getPackage("com.tencent.devops.agent").implementationVersion

@mingshewhe mingshewhe added kind/bug 程序故障Bug,漏洞 area/ci/backend CI 后端issue labels Aug 23, 2021
@mingshewhe mingshewhe added this to the v1.7 milestone Aug 23, 2021
@mingshewhe mingshewhe self-assigned this Aug 23, 2021
mingshewhe added a commit to mingshewhe/bk-ci that referenced this issue Sep 30, 2021
mingshewhe added a commit to mingshewhe/bk-ci that referenced this issue Sep 30, 2021
@bkci-bot bkci-bot added the for test Test environment in tencent has been deploy label Oct 1, 2021
@mingshewhe mingshewhe added the tested 测试环境通过/test patest passed for test stage label Oct 9, 2021
@bkci-bot bkci-bot added the for gray UAT environment in tencent has been deploy label Oct 15, 2021
@mingshewhe mingshewhe added the grayed uat环境测试通过/test passed for uat stage label Oct 28, 2021
@bkci-bot bkci-bot closed this as completed Nov 1, 2021
@bkci-bot bkci-bot added the done Production environment in tencent has been deploy label Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci/backend CI 后端issue done Production environment in tencent has been deploy for gray UAT environment in tencent has been deploy for test Test environment in tencent has been deploy grayed uat环境测试通过/test passed for uat stage kind/bug 程序故障Bug,漏洞 tested 测试环境通过/test patest passed for test stage
Projects
None yet
Development

No branches or pull requests

2 participants