feat: optionale Confluence-Seite im Workflow + Docker auf UBI9 umstellen

- optionales Atlassian-Wiki/Confluence-Feature über `ATLASSIAN_WIKI_*` ergänzt
- neue Confluence-Integration (`src/confluence.js`) zum Anlegen von Seiten via REST API
- Workflow erweitert: Wiki-Seite mit Ticket-Liste und Xray/Sonar-Links erstellen
- Dry-Run-/Status-Handling und Ausgabe der Wiki-URL im Log/Mailtext ergänzt
- Konfiguration, `.env.example` und README für Wiki-Optionen erweitert
- TeamCity-Skripte (`run-workflow.sh/.ps1`) um Wiki-ENVs ergänzt
- Docker-Base-Image auf `ubi9/nodejs-20` umgestellt
- Container-Volume-Mounts auf `/opt/app-root/src/report-output` angepasst
This commit is contained in:
2026-03-20 14:21:05 +00:00
parent fae1771c61
commit eed6681329
9 changed files with 255 additions and 9 deletions
+12
View File
@@ -20,6 +20,18 @@ XRAY_REPORT_URL=https://xray.example.com/report/123
SONAR_REPORT_URL=https://sonar.example.com/dashboard?id=project
JIRA_DRY_RUN=false
# Atlassian Wiki / Confluence (optional)
ATLASSIAN_WIKI_ENABLED=false
# Optional, faellt auf JIRA_BASE_URL zurueck:
ATLASSIAN_WIKI_BASE_URL=https://your-domain.atlassian.net
# Optional, fallen auf JIRA_USER_EMAIL / JIRA_API_TOKEN zurueck:
ATLASSIAN_WIKI_USER_EMAIL=automation@company.com
ATLASSIAN_WIKI_API_TOKEN=your-api-token
ATLASSIAN_WIKI_SPACE_KEY=TEAM
# Optional: Seite unterhalb einer Parent-Page anlegen
ATLASSIAN_WIKI_PARENT_PAGE_ID=
ATLASSIAN_WIKI_TITLE_PREFIX=Weekly Jira Wiki Report
# HTML-Ausgabe
OUTPUT_HTML_PATH=report-output/report.html