ci: define i as type int in for loop

The output of the for loop seemt to be `groovy.lang.IntRange`, which is
not very useful. Maybe it is required to define the variable of type
`int`?

Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
Niels de Vos 2024-01-30 16:59:39 +01:00 committed by Niels de Vos
parent 97afd83f2b
commit 31cddd1f36

View File

@ -44,7 +44,7 @@ def create_duffy_config() {
def podman_pull(source, destination, image) {
def failed = null
for (i in 0..9) {
for (int i in 0..9) {
try {
ssh "podman pull --authfile=~/.podman-auth.json ${source}/${image} && podman tag ${source}/${image} ${image} ${destination}/${image}"
failed = null