feat(debian): ajout d'info de debug sur la recherche de version de paquets
This commit is contained in:
parent
83688cc56c
commit
cf66210f4e
|
@ -28,7 +28,9 @@ def waitForRepoPackage(String packageName, Map params = [:]) {
|
|||
}
|
||||
|
||||
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) {
|
||||
|
@ -76,5 +78,10 @@ def listRepoPackages(Map params = [:]) {
|
|||
}
|
||||
}
|
||||
|
||||
println "Found packages:"
|
||||
packages.each{
|
||||
println " - Package: ${it.key}, Version: ${it.value['version']}"
|
||||
}
|
||||
|
||||
return packages
|
||||
}
|
Loading…
Reference in New Issue