So the problem, as Oleg Nenashev noted, is a serialization failure for java.util.LinkedHashMap$Entry. You can reproduce this minimally as follows:
def remote_watch_urls = [
'./branches': 'my url/branches',
'./releases': 'my url/releases'
]
for (foo in remote_watch_urls) {
sleep 1
echo "foo is ${foo}"
}
The sleep will trigger Pipeline serialization and things blow up there. I'm not sure if we'll ever be able to actually fix that particular syntax, but there's a trivial workaround:
remote_watch_urls.each { foo ->
sleep 1
echo "foo is ${foo}"
}
...should work with no errors. |