I'm building a simple installer in Jenkins, and would like to use build variables as part of the version and package name, but can't seem to get them working. Specifically, I'd like to use SVN_REVISION as part of the version and part of the package name.
From the plugin documentation for the "Additional Commands" section, it states:
I have the Advanced Installer Jenkins plugin installed and configured. In the "Additional Commands" section, I've added "SetVersion 1.1.${SVN_REVISION}", the build fails withYou can use build variables through the syntax ${VAR} or $VAR. E.g. SetVersion x.x.x
Looking at this, it appears that SVN_REVISION is not being interpolated, but I'm not sure why. If I change the line to "SetVersion 1.1.1", it builds fine.SetVersion 1.1.${SVN_REVISION}
The version format is incorrect.
I am using Advanced Installer 13.0 Freeware on Windows Server 2012 R2.
What am I missing to make this work?
FOLLOW US
Get the latest news in Application Packaging