Version string is invalid

Hello,

I am using Jenkins in combination with Octopus-Deployment and want to push a Package …

I am using this Command Line Argument with MSBuild:
/p:RunOctoPack=true /p:OctoPackPackageVersion=${1.%BUILD_NUMBER%.%SVN_REVISION%} /p:OctoPackProjectName=TestProject/p:Configuration=Release

But I get the following Error:
MSBUILD : OctoPack error OCTONUGET: Version string specified for package reference ‘${1.333.25672}’ is invalid.

Though Octopus does now support SemVer 2.0.0 …

Thanks
Alex

Hi Alexander,

Thanks for getting in touch. I think the issue is just the ${} around the version value, possibly a mix up from a copied sample or something. If you just remove that I think it will work.

Regards
Shannon

1 Like

Thanks Shannon,

that fixed the Issue!

Regards
Alex

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.