.cron.yml
author Ping Chen <remotenonsense@gmail.com>
Mon, 14 Jun 2021 13:29:26 +0300
changeset 32814 81f4842d2dd7e44befef8edc478a014ffff14f19
parent 31006 ea8e92388dfe64465640b7ee7e471083cf9bcfe2
child 33596 59bfc8893d6c51f280c99c7b3adbfa65993732a4
permissions -rw-r--r--
Bug 1715713 - Prevent showing multiple newmailalert.xhtml notification windows. r=mkmelin This patch makes two changes: 1. If a newmailalert.xhtml window is already shown, save the folder and show a new notification only after the current notification is closed. 2. Pass new message keys to newmailalert.js. Previously, newmailalert.js receives a root folder and scans all subfolders for NEW messages, which is unnecessary and may incorrectly include old messages. Differential Revision: https://phabricator.services.mozilla.com/D117617

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
---
# Definitions for jobs that run periodically.  For details on the format, see
# `taskcluster/taskgraph/cron/schema.py`.  For documentation, see
# `taskcluster/docs/cron.rst`.
#
# Thunderbird specific documentation: `comm/taskcluster/docs/cron.rst`
# To disable Daily builds, set `when: []` on the `nightly-desktop` and
# `searchfox-index` jobs and push to comm-central.

jobs:
    - name: nightly-desktop
      job:
          type: decision-task
          treeherder-symbol: Nd
          target-tasks-method: nightly_desktop
          include-push-tasks: true
      run-on-projects:
          - comm-central
      when: [{hour: 11, minute: 0}]
      # when: []

    - name: nightly-linux
      job:
          type: decision-task
          treeherder-symbol: Nd-Ln
          target-tasks-method: nightly_linux
      run-on-projects:
          - comm-central
      when: []  # never (hook only)

    - name: nightly-osx
      job:
          type: decision-task
          treeherder-symbol: Nd-OSX
          target-tasks-method: nightly_macosx
      run-on-projects:
          - comm-central
      when: []  # never (hook only)

    - name: nightly-win32
      job:
          type: decision-task
          treeherder-symbol: Nd-win32
          target-tasks-method: nightly_win32
      run-on-projects:
          - comm-central
      when: []  # never (hook only)

    - name: nightly-win64
      job:
          type: decision-task
          treeherder-symbol: Nd-win64
          target-tasks-method: nightly_win64
      run-on-projects:
          - comm-central
      when: []  # never (hook only)

    - name: searchfox-index
      job:
          type: decision-task
          treeherder-symbol: Searchfox
          target-tasks-method: comm_searchfox_index
      run-on-projects:
          - comm-central
      when: [{hour: 11, minute: 0}]
      # when: []

    - name: l10n-bumper
      job:
          type: decision-task
          treeherder-symbol: l10n-bump
          target-tasks-method: l10n_bump
      run-on-projects:
          - comm-beta
      when: [{hour: 8, minute: 30}]
      # when: []