octopus deploy - Get branch name from TeamCity build -
i deploying nuget package result of teamcity feature branch build. build number format use includes branch name: 1.0.0.%build.counter%-%vcsroot.branch%.
i need branch name @ octopus deploy side customize deploy. right way have branch name variable?
we should able parse out package name , set octopus variable using this
- create variable
- create step extract nuget (no features) , powershell step
- use powershell set variable parsing version number of package
hope helps
Comments
Post a Comment