feat(debian): ajout d'info de debug sur la recherche de version de paquets
This commit is contained in:
parent
83688cc56c
commit
cf66210f4e
|
@ -26,9 +26,11 @@ def waitForRepoPackage(String packageName, Map params = [:]) {
|
||||||
println("Package found !")
|
println("Package found !")
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
def versionFound = packages.find {
|
def versionFound = packages.find {
|
||||||
return it['version'] =~ expectedVersion
|
def matches = it['version'] =~ expectedVersion
|
||||||
|
println("Comparing expected version '${expectedVersion}' to '${it['version']}': ${matches}")
|
||||||
|
return matches
|
||||||
}
|
}
|
||||||
|
|
||||||
if (versionFound) {
|
if (versionFound) {
|
||||||
|
@ -76,5 +78,10 @@ def listRepoPackages(Map params = [:]) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
println "Found packages:"
|
||||||
|
packages.each{
|
||||||
|
println " - Package: ${it.key}, Version: ${it.value['version']}"
|
||||||
|
}
|
||||||
|
|
||||||
return packages
|
return packages
|
||||||
}
|
}
|
Loading…
Reference in New Issue