[FIXED JENKINS-20543] keep compatible API