<< Back to previous view |
[QB-3606] Repository GitLab - field "Commit Status Name/Context" is filled up when left empty
|
|
Status: | Closed |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | 10.0.21 |
Fix Version/s: | None |
Type: | Bug | Priority: | Critical |
Reporter: | Robert Saladra | Assigned To: | Robin Shen |
Resolution: | Cannot Reproduce | Votes: | 0 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown |
Description |
I've set up repository type GitLab that my account has RO access, therefore tagging it is not possible. I've cleared field "Commit Status Name/Context" so repository will not be tagged, according to field description.
When saved setting, field is filled up automatically with '${build.version}' value. Cloning repository causes 401 Unauthorized error returned by GitLab server. |
Comments |
Comment by Steve Luo [ 22/Dec/20 02:44 PM ] |
I can clear the field "Commit Status Name/Context" successfully. Is it possible you haven't clear the field due to the browser autocompletion feature? |
Comment by Robert Saladra [ 22/Dec/20 03:37 PM ] |
I am sure, field is not filled when accessing configuration xml, but still has value filled checking via webpage and when trying to edit.
XML section for example repo: <entry> <string>test</string> <com.pmease.quickbuild.plugin.scm.gitlab.GitLabRepository revision="0.4.0.4.1"> <name>test</name> <inheritable>true</inheritable> <quietPeriod>0</quietPeriod> <userMapping class="com.pmease.quickbuild.setting.repository.usermapping.SameNameMapping"/> <fetchUrl>https://gitlab.com/test.git</fetchUrl> <userSchema>Author Name</userSchema> <enableSubmodule>false</enableSubmodule> <retrySetting> <retryOnPatterns>fatal:.*Please try again</retryOnPatterns> <retryTimes>3</retryTimes> </retrySetting> <depth>0</depth> <gcPeriod>0</gcPeriod> </com.pmease.quickbuild.plugin.scm.gitlab.GitLabRepository> </entry> Same story when trying to fill this field with spaces. I was able to set value '${""}', I'll check if this is interpreted as 'empty' |