Skip to content

Tag trigger not working #77

@ton252

Description

@ton252

I've tried to run TeamCity build on tag trigger, but noting happened.

Bitbucket Plugin Configuration:

"4f477ddb-61cf-4c7f-b30f-e041f831e0a0": {
        "regex": "refs/tags/(.*)",
        "target": "TARGET",
        "type": "build",
        "triggerOnEmptyBranches": true,
        "triggerWhenNoReviewers": true,
        "triggerOnPullRequest": false,
        "hideOnPullRequest": false,
        "cancelRunningBuilds": false,
        "triggerInclusion": "",
        "triggerExclusion": "",
        "downStreamTriggerType": "build",
        "downStreamTriggerDescription": "",
        "downStreamTriggerTarget": ""
 }

TeamCity VCS Configuration:

Default branch:
  refs/heads/master
Branch specification:
  +:refs/tags/(*)
  +:refs/heads/master
  +:refs/heads/(rc/*)
  +:refs/heads/(feature/*)
  +:refs/heads/(bugfix/*)
  +:refs/heads/(hotfix/*)
Use tags as branches:
  true

I've checked using post request using TeamCity API (everything works fine):
curl -k -u user:password --request POST https://teamcity-cicdl.corp.dev.vtb/app/rest/buildQueue --header "Content-Type:application/xml" --data-binary @build.xml

<build branchName="1.9.1t">
  <buildType id="TARGET"/>
</build>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions