Octopus deployment from Teamcity not using the latest packages

后端 未结 6 1689
南笙
南笙 2021-02-04 02:02

I have set up a build step on TeamCity,as described here, to do automatic release deployments to our test server. But it is not using the latest nuget packages that was build in

6条回答
  •  轮回少年
    2021-02-04 02:20

    My organization uses Jenkins CI. We use the unique build number as our package version and then deploy that specific package version using the --packageversion paramater.

    In the case where we have multiple services that need to be deployed. We have an upstream job / main job that provides the unique build number.

    I'd imagine you can do the same thing with TeamCity

    Master Job (unique build number) calls jobs A and jobs B with parameter (unique build). Jobs A and B build version (from Master Job). Jobs A and B complete then publish their respective versions.

提交回复
热议问题