diff options
author | 2016-04-08 11:15:39 +0800 | |
---|---|---|
committer | 2016-04-14 21:23:38 +0000 | |
commit | 170c20ce2876441f566270e4bfadfa9b81aff89a (patch) | |
tree | 8d563dc6c4efafd6ea86a1fa28132be0d3bd7f54 | |
parent | 134fb610c0347cb35de43b25b0d62b1731a9f487 (diff) |
fuel: Normalize wrappers.ssh-agent-credentials.users
This changes
- ssh-agent-credentials:
users: '{ssh-credentials}'
to
- ssh-agent-credentials:
users:
- '{ssh-credentials}'
Then, the size of the generated XML can be slightly smaller, such
as:
Old XML:
<com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper>
<credentialIds>
<string>d</string>
<string>4</string>
<string>2</string>
...
<string>b</string>
<string>2</string>
<string>e</string>
</credentialIds>
</com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper>
New XML:
<com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper>
<user>d42411ac011ad6f3dd2e1fa34eaa5d87f910eb2e</user>
</com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper>
Change-Id: I8215a33784c63757a5b74f30a5aa771fc19c5207
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
-rwxr-xr-x[-rw-r--r--] | jjb/fuel/fuel-project-jobs.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/jjb/fuel/fuel-project-jobs.yml b/jjb/fuel/fuel-project-jobs.yml index d1855f86e..0d768203f 100644..100755 --- a/jjb/fuel/fuel-project-jobs.yml +++ b/jjb/fuel/fuel-project-jobs.yml @@ -105,7 +105,8 @@ wrappers: - ssh-agent-credentials: - users: '{ssh-credentials}' + users: + - '{ssh-credentials}' - timeout: timeout: 360 fail: true @@ -171,7 +172,8 @@ wrappers: - ssh-agent-credentials: - users: '{ssh-credentials}' + users: + - '{ssh-credentials}' - timeout: timeout: 360 fail: true @@ -244,7 +246,8 @@ wrappers: - ssh-agent-credentials: - users: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - gerrit: |