[FIXED JENKINS-12076] Correctly save parameter

The build parameter for the number of release builds to keep was not being saved and thus not used.