History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-3606
Type: Bug Bug
Status: Open Open
Priority: Critical Critical
Assignee: Robin Shen
Reporter: Robert Saladra
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Repository GitLab - field "Commit Status Name/Context" is filled up when left empty

Created: 31/Jul/20 01:21 PM   Updated: 22/Dec/20 03:37 PM
Component/s: None
Affects Version/s: 10.0.21
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
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.

 All   Comments   Work Log   Change History      Sort Order:
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?

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&lt;/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'