feat(ci): Push-Benachrichtigung bei Test-Erfolg oder -Fehlschlag für Jenkins und Woodpecker integriert

This commit is contained in:
ISA
2025-09-03 06:29:41 +02:00
parent 2d9cd74375
commit 5252ec5998
7 changed files with 28 additions and 5 deletions

View File

@@ -6,6 +6,6 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false
NEXT_PUBLIC_EXPORT_STATIC=false
NEXT_PUBLIC_USE_CGI=false
# App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.6.814
NEXT_PUBLIC_APP_VERSION=1.6.815
NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter)

View File

@@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL
NEXT_PUBLIC_EXPORT_STATIC=true
NEXT_PUBLIC_USE_CGI=true
# App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.6.814
NEXT_PUBLIC_APP_VERSION=1.6.815
NEXT_PUBLIC_CPL_MODE=production

View File

@@ -35,3 +35,13 @@ steps:
commands:
- npm ci
- npx playwright test --project=chromium
- name: notify-success
when:
status: success
commands:
- curl.exe -d "Tests erfolgreich" https://ntfy.sh/OEOr8DNB0aT2mXWg231PeEEKwvuzt86qgM8ezQmgfcX9ZIlZ35
- name: notify-failure
when:
status: failure
commands:
- curl.exe -d "Tests fehlgeschlagen" https://ntfy.sh/OEOr8DNB0aT2mXWg231PeEEKwvuzt86qgM8ezQmgfcX9ZIlZ35

View File

@@ -1,3 +1,8 @@
## [1.6.815] 2025-09-03
- refactor: move headerTest to header folder
---
## [1.6.814] 2025-09-02
- fix: playwright Test bugs beheben

8
Jenkinsfile vendored
View File

@@ -16,4 +16,12 @@ pipeline {
}
}
}
post {
success {
sh 'curl.exe -d "Tests erfolgreich" https://ntfy.sh/OEOr8DNB0aT2mXWg231PeEEKwvuzt86qgM8ezQmgfcX9ZIlZ35'
}
failure {
sh 'curl.exe -d "Tests fehlgeschlagen" https://ntfy.sh/OEOr8DNB0aT2mXWg231PeEEKwvuzt86qgM8ezQmgfcX9ZIlZ35'
}
}
}

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "cpl-v4",
"version": "1.6.814",
"version": "1.6.815",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "cpl-v4",
"version": "1.6.814",
"version": "1.6.815",
"dependencies": {
"@fontsource/roboto": "^5.1.0",
"@headlessui/react": "^2.2.4",

View File

@@ -1,6 +1,6 @@
{
"name": "cpl-v4",
"version": "1.6.814",
"version": "1.6.815",
"private": true,
"scripts": {
"dev": "next dev -p 3000",