Versions from nexus

I have 2 build configurations. 

First build configuration builds and deploys artifacts to nexus.

Second build configuration deploy artifacts to server. And I want dynamic parameters for this build configuration with choice version that exists in nexus. 

How I can do this? 

1
2 comments

Hi,

if you get any information back from the initial configuration that you can set as parameters, then you will be able to pull them as dependency parameters (https://confluence.jetbrains.com/display/TCD10/Predefined+Build+Parameters#PredefinedBuildParameters-DependenciesProperties)

If you need to pull information from nexus (such as information that nexus produces), then I'm afraid that the best way would be to pull the information manually as a first build step, then set the parameters via service messages: https://confluence.jetbrains.com/display/TCD10/Build+Script+Interaction+with+TeamCity#BuildScriptInteractionwithTeamCity-changingBuildParameterAddingorChangingaBuildParameterfromaBuildStepAddingorChangingaBuildParameter

0
Avatar
Permanently deleted user

I resolved this issue with teamcity-web-parameters plugin  https://github.com/grundic/teamcity-web-parameters.

I wrote a small service that gives the nexus versions in  json format for the plugin.

0

Please sign in to leave a comment.