Change applied in https://github.com/xwiki/xwiki-jenkins-pipeline/commit/210fcf79886b02950555627c68de450133baca98 needs to be reverted once this is fixed.