impl from Jenkins 3