[FIXED JENKINS-14406] Adding CLI for updating next build number

https://github.com/jenkinsci/jenkins/pull/945 reworked.