I am trying to set the
buildNumber by modifying the project version in a Bash "custom script" as a "command line" build step. This is the first build step and the script starts off like this
echo "version is $mvn_version" #this prints out '???'
echo "suffix is $suffix" #this prints out '40-SNAPSHOT'
echo "new build number is $new_version" #this prints out '???'
echo "##teamcity[buildNumber '$new_version']"
What do I need to do so %maven.project.version% is populated and not "???"?!