-
Notifications
You must be signed in to change notification settings - Fork 0
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
refactor: Jenkins Config YAML 기반 알림 플랫폼 유동적 지원 추가 완료 #632
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.
Files not reviewed (2)
- jenkins/prod/Jenkinsfile: Language not supported
- jenkins/stage/Jenkinsfile: Language not supported
Comments suppressed due to low confidence (2)
jenkins/prod/config.yml:3
- [nitpick] The key 'notifications' is clear and well-named, but ensure that the naming conventions for nested keys (e.g., 'common', 'platforms') are consistent with the rest of the configuration file.
notifications:
jenkins/prod/config.yml:10
- [nitpick] The key 'enabled' is clear and well-named, but ensure that the naming conventions for boolean keys are consistent with the rest of the configuration file.
enabled: true # Enable (true) or disable (false) notifications for this platform
기존에
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
작업 테스트까지 감사합니다!
확인완료했습니다👍👍
Summary
알림 시스템을 개선하여 다중 플랫폼을 지원하도록 했습니다. Config YAML 설정에 따라 알림 플랫폼을 유동적으로 선택할 수 있게 되어, 유연한 알림 전송이 가능해졌습니다.
Tasks
Config YAML 구조 수정
알림 전송 로직 리팩터링
sendSlackBuildNotification
메서드를 일반화하여 다중 플랫폼 지원.플랫폼별 메시지 포맷 구현
유동적인 플랫폼 선택
Screenshot
Slack과 Discord 모두 알림이 정상적으로 동작하는 것을 확인했습니다.
변경된 YAML 구조
기존
변경