fix: Jenkins node20

This commit is contained in:
Ismail Ali
2025-08-31 16:39:29 +02:00
parent e732971cdc
commit 9147cec40f
6 changed files with 16 additions and 10 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.787
NEXT_PUBLIC_APP_VERSION=1.6.788
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.787
NEXT_PUBLIC_APP_VERSION=1.6.788
NEXT_PUBLIC_CPL_MODE=production

View File

@@ -1,3 +1,8 @@
## [1.6.788] 2025-08-31
- Test: Jenkinsfile
---
## [1.6.787] 2025-08-31
- fix: Die Konfiguration ist jetzt angepasst:

11
Jenkinsfile vendored
View File

@@ -1,17 +1,18 @@
pipeline {
agent any
tools { nodejs 'node20' }
tools { nodejs 'node20' } // Name genau wie in Tools
stages {
stage('Checkout') {
steps { checkout scm }
stage('Check versions') {
steps { sh 'node -v && npm -v' }
}
stage('Install dependencies') {
steps { sh 'npm ci' }
}
stage('Playwright tests') {
steps {
// Installiert Browser & Systemdeps falls nötig
sh 'npx playwright install --with-deps'
// Dependencies installieren (falls fehlende Systemlibs meckern, sagen wir Bescheid)
sh 'npx playwright install'
sh 'npx playwright test'
}
}

4
package-lock.json generated
View File

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

View File

@@ -1,6 +1,6 @@
{
"name": "cpl-v4",
"version": "1.6.787",
"version": "1.6.788",
"private": true,
"scripts": {
"dev": "next dev",