Adapt to new API

2 jobs for master in 20 minutes and 37 seconds (queued for 47 minutes and 32 seconds)