Use BUILD_NUMBER_TO_DEPLOY instead of BUILD_NUMBER
Use BUILD_NUMBER_TO_DEPLOY instead of BUILD_NUMBER

Otherwise it's not possible to deploy an older build (through a restart of a pipeline)

yonadev/yona-server,yonadev/yona-server,yonadev/yona-server,yonadev/yona-server