Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-17936

Chat notification for "pipeline fixed" not firing on PR update

    XMLWordPrintable

Details

    Description

      We have two parallel steps that run on every PR for repository:

      #!yaml
      
      pipelines:
          pull-requests:
              '**':
                  - parallel:
                      - step:
                          name: PHP_CodeSniffer
                          caches:
                              - composer
                          script:
                              - composer install --prefer-source --no-interaction --dev
                              - vendor/bin/phpcs --report=junit --report-file=test-results/phpcs.xml .
                      - step:
                          name: ESLint
                          caches:
                              - node
                          script:
                              - npm i --no-shrinkwrap
                              - npm run prod
      

      On repository, I set up Slack chat notifications for "pipeline failed" and "pipeline fixed" to a particular channel, repository-wide. After pushing code to artificially trigger a pipeline failure, the notification appeared in Slack immediately after the pipeline failed. However, when pushing code to fix the failures, the pipeline completed but I did not receive a Slack notification.

      I read the docs for chat notifications here, which describe "pipeline fixed" as "a successful completion after a failed attempt": https://confluence.atlassian.com/bitbucket/notifications-for-bitbucket-pipelines-857053284.html

      Attachments

        Activity

          People

            Unassigned Unassigned
            8fb9d571cfd6 Daniel Marcolesco
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: