I\'m currently using the Jenkins \"Version Number Plug-In\" to set an Environment Variable for build version. This works fine within jenkins but i need a way to pass this to MSB
Environment Variable Name should be written without the percent-marks ('%'), like this:
VERSION
apart from that, I think you are good to go.
May also consider changing ${BUILDS_ALL_TIME} to ${BUILDS_ALL_TIME, XX}
${BUILDS_ALL_TIME}
${BUILDS_ALL_TIME, XX}
(this will enforce a two-digit build-number with leading zeros)