Parameterize job name and description
This commit is contained in:
parent
79b145e21e
commit
29b745f5f8
@ -204,8 +204,8 @@ job('infra/configure-jenkins') {
|
|||||||
for (i = 0; i < images.size(); i++) {
|
for (i = 0; i < images.size(); i++) {
|
||||||
filename = Paths.get(new URI(images[i]).getPath()).getFileName().toString()
|
filename = Paths.get(new URI(images[i]).getPath()).getFileName().toString()
|
||||||
job("infra/sync-image-${i}") {
|
job("infra/sync-image-${i}") {
|
||||||
displayName("test")
|
displayName("${filename}")
|
||||||
description('Synchronize image')
|
description("Synchronize image: ${images[i]}")
|
||||||
label('pve')
|
label('pve')
|
||||||
logRotator {
|
logRotator {
|
||||||
numToKeep(10)
|
numToKeep(10)
|
||||||
|
Loading…
Reference in New Issue
Block a user