Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jenkins Config YAML 기반 알림 플랫폼 유동적 지원 추가 #624

Closed
limehee opened this issue Dec 5, 2024 · 0 comments · Fixed by #632
Closed

Jenkins Config YAML 기반 알림 플랫폼 유동적 지원 추가 #624

limehee opened this issue Dec 5, 2024 · 0 comments · Fixed by #632
Assignees
Labels
🌎 Intra 서버 인프라 및 도메인 관련 🔨 Refactor 코드 수정 및 개선

Comments

@limehee
Copy link
Collaborator

limehee commented Dec 5, 2024

Describe

현재 슬랙(Slack)만을 지원하는 알림 시스템을 개선하여, Discord를 추가로 지원하고 Config YAML 설정에 따라 알림 플랫폼을 유동적으로 선택할 수 있도록 리팩터링합니다. 이를 통해 유연한 알림 플랫폼 선택과 다중 플랫폼 지원이 가능하도록 합니다.

Tasks

  1. Config YAML 구조 수정
  • slackdiscord 설정을 분리하여 알림 플랫폼을 명시적으로 구분.
  • 새로운 플랫폼이 추가될 경우 확장 가능한 구조로 설계.
  1. 알림 전송 로직 리팩터링
  • 현재 Slack 전용인 sendSlackBuildNotification 메서드를 일반화하여 다중 플랫폼을 지원하도록 변경.
  • 플랫폼별 알림 생성 로직을 분리하여 각 플랫폼에 적합한 메시지 포맷 생성.
  1. 플랫폼별 메시지 포맷 구현
  • Slack: 현재 방식 유지 (JSON 포맷).
  • Discord: Embed 형태로 알림 포맷 작성.
  1. 유동적인 플랫폼 선택
  • Config YAML에서 활성화된 플랫폼을 확인하여 해당 플랫폼에 알림을 전송하도록 구현.
@limehee limehee added 🔨 Refactor 코드 수정 및 개선 🌎 Intra 서버 인프라 및 도메인 관련 labels Dec 5, 2024
@limehee limehee self-assigned this Dec 5, 2024
@limehee limehee changed the title Jenkins Config YAML 기반으로 알림 플랫폼(Slack/Discord) 유동적 지원 추가 Jenkins Config YAML 기반으로 알림 플랫폼 유동적 지원 추가 Dec 5, 2024
@limehee limehee changed the title Jenkins Config YAML 기반으로 알림 플랫폼 유동적 지원 추가 Jenkins Config YAML 기반 알림 플랫폼 유동적 지원 추가 Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌎 Intra 서버 인프라 및 도메인 관련 🔨 Refactor 코드 수정 및 개선
Projects
None yet
1 participant