Giter Club home page Giter Club logo

Comments (5)

pmuir avatar pmuir commented on July 29, 2024

Rule-based
The Slack app should be rule-based, meaning users can write a more or less unlimited amount of rules to trigger notifications to different channels and in different scenarios. There should be no one global behavior.

There are currently two behaviors:

  1. post a message to a channel (can be configured per "rule")
  2. DM a message (only to the user that created the PR or triggered the build)

and two triggers:

  1. A pipeline activity changes
  2. A PR changes state

and two filters:

  1. Repo
  2. Org

The user is able to configure any combination of the behaviors, triggers and filters using an unlimited number of rules.

Project-based
Users should configure notification rules on a per-project basis so that some projects on the cluster can have different notification rules than other projects.

See above, but it can be configured using either repos or orgs today.

Branch-based
All rules should have the option to either apply to all branches, to specific branches (via either an explicit string or a regex pattern) or to all branches except (i.e. blacklist some branches)

This functionality is missing.

Triggers
Let users trigger what events send a Slack message, i.e.
Only failures or only successes
Only on merging vs all PR events vs all commits
When new preview environments go live

This functionality is missing.

Personal
The one exception to global rules should be on a per-user basis, where users can configure Slack DMs to be sent to them on their builds if they want. This should default to no and be opt-in, most likely.

This functionality is missing - either DMs for builds are on for a repo/org, or off for a repo/org

from jx-slack.

jenkins-x-bot avatar jenkins-x-bot commented on July 29, 2024

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://jenkins-x.io/community.
/lifecycle stale

from jx-slack.

rawlingsj avatar rawlingsj commented on July 29, 2024

/remove-lifecycle stale

from jx-slack.

jenkins-x-bot avatar jenkins-x-bot commented on July 29, 2024

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://jenkins-x.io/community.
/lifecycle stale

from jx-slack.

jenkins-x-bot avatar jenkins-x-bot commented on July 29, 2024

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://jenkins-x.io/community.
/lifecycle rotten

from jx-slack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.