【发布时间】:2019-02-26 21:53:25
【问题描述】:
我必须将 Bugzilla 帐户的用户凭据从 yaml 文件解析到触发 Jenkins 作业的 shell 脚本中。
---
- name: 'USER_BUGZILLA'
valueFrom:
secretKeyRef:
name: 'bugzilla_bot'
key: 'user'
- name: 'PASSWORD_BUGZILLA'
valueFrom:
secretKeyRef:
name: 'bugzilla_bot'
key: 'password'
【问题讨论】:
标签: shell parsing jenkins passwords yaml