filename variable does not work

This commit is contained in:
Игорь Чудов 2019-10-14 15:11:36 +04:00
parent 940db74f54
commit d8fb9727ed
Signed by untrusted user: nir
GPG Key ID: 0F3883600CAE7AAC

View File

@ -232,9 +232,8 @@ job('infra/configure-jenkins') {
*/ */
imageMap.each { url, hash -> imageMap.each { url, hash ->
def filename = Paths.get(new URI(url).getPath()).getFileName().toString() job("infra/sync-image-${url}") {
job("infra/sync-image-${filename}") { displayName("${url}")
displayName("${filename}")
description('Synchronize image') description('Synchronize image')
label('pve') label('pve')
logRotator { logRotator {