Build doesn't start with prompt configuration parameter

Hello everyone,

We're using TC 8.1.5 and I have a problem with creating a prompt for a configuration paramter.
Basically what I want is for the user to select from a list of projects. The value from that list will be part of the path of the pom that the user wished to build.
So that path to the pom is defined as follows: %release.project%/pom.xml

When I try to start the build, I indeed get a prompt for the defined parameter but when I select something from the list and press Run Build nothing happens.
run build.png
If, however I run a custom build and then select one of the options in the Parameters section it works fine. I have to mention that in the custom build there are 3 other paratmers shown, one of which is another prompt parameter that has a default value.

So... am I missing something here?

My parameters is defined like so:
parameter definition.png

Thank you very much,
Guy

2 comments
Comment actions Permalink

Hi Guy,

This one is not clear for me:
>the custom build there are 3 other paratmers shown, one of which is another prompt parameter that has a default value.

If prompt is specified, TeamCity will always require a review of the parameter value when clicking the Run button. So the second parameter should be listed on the first attached screenshot. Or I misunderstood something.
This issue https://youtrack.jetbrains.com/issue/TW-39714 is probably related. It was fixed. 8.0.5 is outdated version. Please upgrade to the latest one (9.1.1 as of now) and inform us if the issue is reproduced on the latest version.

0
Comment actions Permalink

Thanks, indeed it seems to be related

0

Please sign in to leave a comment.