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: 矩阵输出上下文支持数组访问 #5964

Closed
royalhuang opened this issue Jan 6, 2022 · 0 comments
Closed

feat: 矩阵输出上下文支持数组访问 #5964

royalhuang opened this issue Jan 6, 2022 · 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/feat/product 产品特性 streams/for gray stream 灰度环境部署成功 streams/grayed stream 灰度环境测试通过 tested 测试环境通过/test patest passed for test stage

Comments

@royalhuang
Copy link
Collaborator

【需求背景/需求场景】需求产生的背景/需求在什么场景下解决的问题/做这个需求的目的是什么;

比如使用 Matrix Job 进行多服务构建,构建完成后统一进行发布时,需要在 Matrix Job 下游访问 Matrix 中输出的变量

【需求交付标准】如功能特性/性能等可衡量的指标

假设 id 为 job_1 的 Job 为 Matrix Job,其中有 id 为 step_1 的 Step,输出名为 a 的变量

  • 支持在此 Matrix Job 下游通过 ${{ jobs. job_1.steps.step_1.outputs.a }} 的方式获取 step_1 的所有 a 变量值

  • 获取到的 a 值格式为 json 字符串,如 ["a1", "a2", "a3"]

@royalhuang royalhuang added kind/feat/product 产品特性 area/ci/backend CI 后端issue labels Jan 6, 2022
@royalhuang royalhuang self-assigned this Jan 6, 2022
royalhuang pushed a commit to royalhuang/bk-ci that referenced this issue Jan 6, 2022
royalhuang pushed a commit to royalhuang/bk-ci that referenced this issue Jan 17, 2022
royalhuang pushed a commit to royalhuang/bk-ci that referenced this issue Jan 17, 2022
@royalhuang royalhuang added for test Test environment in tencent has been deploy tested 测试环境通过/test patest passed for test stage labels Jan 18, 2022
mingshewhe added a commit that referenced this issue Jan 18, 2022
feat: 矩阵输出上下文支持数组访问 #5964
@bkci-bot bkci-bot added the for gray UAT environment in tencent has been deploy label Jan 18, 2022
@royalhuang royalhuang added grayed uat环境测试通过/test passed for uat stage streams/for gray stream 灰度环境部署成功 streams/grayed stream 灰度环境测试通过 labels Jan 20, 2022
@bkci-bot bkci-bot added the done Production environment in tencent has been deploy label Jan 20, 2022
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/feat/product 产品特性 streams/for gray stream 灰度环境部署成功 streams/grayed stream 灰度环境测试通过 tested 测试环境通过/test patest passed for test stage
Projects
None yet
Development

No branches or pull requests

2 participants