MCMicS / jenkins-control-plugin

Jenkins integration in IDEA Platforms
https://plugins.jetbrains.com/plugin/6110-jenkins-control-plugin
Apache License 2.0
250 stars 122 forks source link

The git tag selects bug by default. In fact, it is not selected by default. #581

Open DreamPWJ opened 3 months ago

DreamPWJ commented 3 months ago

The default selection causes the code to be unable to be released. It defaults to a tag every time, and deployment is meaningless. In fact, it is not selected by default on the Jenkins web, and the code is pulled from the latest branch. image image

DreamPWJ commented 3 months ago

set gitParameter(name: 'GIT_TAG', type: 'PT_TAG', defaultValue: NONE ,selectedValue: NONE)

MCMicS commented 3 months ago

Hi what do you mean? That the plugin selects a value per default (which is returned by server API) OR is a value not transferred?

DreamPWJ commented 3 months ago

By default, no value is selected because I set gitParameter(name: 'GIT_TAG', type: 'PT_TAG', defaultValue: NONE, selectedValue: NONE)

MCMicS commented 3 months ago

Ok i will check this and if the API returns correct results. because last time it was not delivered correctly which could lead to this behaviour