diff --git a/.env.development b/.env.development index 1d19078..1c9279d 100644 --- a/.env.development +++ b/.env.development @@ -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.788 +NEXT_PUBLIC_APP_VERSION=1.6.789 NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter) diff --git a/.env.production b/.env.production index aefb389..2ad7596 100644 --- a/.env.production +++ b/.env.production @@ -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.788 +NEXT_PUBLIC_APP_VERSION=1.6.789 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index dfa0e79..c8effc2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [1.6.789] – 2025-08-31 + +- fix: Jenkins node20 + +--- ## [1.6.788] – 2025-08-31 - Test: Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile index 9f8aa3e..25b589c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,18 +1,17 @@ pipeline { agent any - tools { nodejs 'node20' } // Name genau wie in Tools + tools { nodejs 'node20' } // exakt der Name aus "Manage Jenkins → Tools" stages { - stage('Check versions') { + stage('Versions') { steps { sh 'node -v && npm -v' } } - stage('Install dependencies') { + stage('Install deps') { steps { sh 'npm ci' } } stage('Playwright tests') { steps { - // Dependencies installieren (falls fehlende Systemlibs meckern, sagen wir Bescheid) - sh 'npx playwright install' + sh 'npx playwright install' // Browser-Binärdateien laden sh 'npx playwright test' } } diff --git a/Playwright 26.08.2025.odp b/Playwright 26.08.2025.odp deleted file mode 100644 index b1b7837..0000000 Binary files a/Playwright 26.08.2025.odp and /dev/null differ diff --git a/package-lock.json b/package-lock.json index 67d9102..6395551 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.788", + "version": "1.6.789", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.788", + "version": "1.6.789", "dependencies": { "@fontsource/roboto": "^5.1.0", "@headlessui/react": "^2.2.4", diff --git a/package.json b/package.json index da6aafd..20c2226 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "cpl-v4", - "version": "1.6.788", + "version": "1.6.789", "private": true, "scripts": { - "dev": "next dev", + "dev": "next dev -p 3000", "clean": "rimraf .next out", "build": "npm run clean && cross-env EXPORT_STATIC=true next build", "postbuild": "copy LICENSE_ICONIFY.txt out\\LICENSE_ICONIFY.txt", diff --git a/playwright.config.ts b/playwright.config.ts index ee2fe73..4aaba6b 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -33,8 +33,8 @@ export default defineConfig({ projects: [{ name: "chromium", use: { ...devices["Desktop Chrome"] } }], webServer: { - command: "npm run dev -p 3000", - url: process.env.E2E_BASE_URL || "http://localhost:3000", + command: "npm run dev -- -p 3000", // wichtig: "--" damit npm das "-p" an next weiterreicht + url: "http://localhost:3000", reuseExistingServer: true, timeout: 120_000, },