[Jenkins] check element in groovy array/hash/collection/list // list [1,2,3].contains(1) == true // map [a:1,b:2,c:3].containsValue(3) [a:1,b:2,c:3].containsKey('a') https://stackoverflow.com/questions/51927/how-to-check-if-element-in-groovy-array-hash-collection-list Jenkins 2022.11.16