filename variable does not work
This commit is contained in:
parent
940db74f54
commit
d8fb9727ed
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user