23 lines
485 B
YAML
23 lines
485 B
YAML
---
|
|
# [샘플] 슬랙 파일 전송
|
|
|
|
property:
|
|
workspace: /path/to/project
|
|
|
|
pipeline:
|
|
id: main
|
|
workflow:
|
|
- exe: slack-file-send
|
|
|
|
commands:
|
|
# 슬랙 채널에 파일 업로드
|
|
- command: SlackFile
|
|
id: slack-file-send
|
|
param:
|
|
token: "xoxb-your-slack-token"
|
|
channel: "#build-reports"
|
|
filePath: "<!property.workspace>/build/report.html"
|
|
fileName: "build-report.html"
|
|
mimeType: "text/html"
|
|
title: "Build Report"
|
|
initialComment: "새 빌드 리포트"
|