Uploaded image for project: 'SR for Bitbucket - Development'
  1. SR for Bitbucket - Development
  2. SRBITB-271

Send mail post-receive hook cause STC error when using bindings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • High
    • Resolution: Fixed
    • 5.1.8
    • 5.3.8
    • None
    • None
    • Sprint 37 - Ends Jan 29
    • 0.8

    Description

      Adding a condition with refChanges in the send mail post-receive hook causes a static type checking error where it should compile fine.

      The following condition reproduces this:

      refChanges.any { it.ref.id.startsWith("refs/heads/master") }

      Attachments

        Activity

          People

            amarkham Adam Markham
            amarkham Adam Markham
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: