grundic / teamcity-web-parameters

Teamcity plugin that provides dynamic parameters for builds from web service
MIT License
44 stars 16 forks source link

default not working #26

Open rambai opened 4 years ago

rambai commented 4 years ago

Hello,

My output JSON is like this: { "options" : [ { "key" : "1.0", "value" : "1.0", "enabled" : true }, { "key" : "1.0.0", "value" : "1.0.0", "enabled" : true }, { "key" : "1.0.1-SNAPSHOT", "value" : "1.0.1-SNAPSHOT", "enabled" : true }, { "key" : "1.0.2-SNAPSHOT", "value" : "1.0.2-SNAPSHOT", "enabled" : true }, { "key" : "1.0.3-SNAPSHOT", "value" : "1.0.3-SNAPSHOT", "enabled" : true }, { "key" : "1.1.0", "value" : "1.1.0", "enabled" : true }, { "key" : "1.1.1-SNAPSHOT", "value" : "1.1.1-SNAPSHOT", "enabled" : true }, { "key" : "kong", "value" : "kong", "default" : true, "enabled" : true } ] } but I see 1.0 as default first option: image

What I'm doing wrong?