diff --git a/.env.development b/.env.development index 98937cf..f647dd5 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.785 +NEXT_PUBLIC_APP_VERSION=1.6.787 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 1cfb2c4..e39e33a 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.785 +NEXT_PUBLIC_APP_VERSION=1.6.787 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index fb9da9d..e59ad5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.6.787] – 2025-08-31 + +- fix: Die Konfiguration ist jetzt angepasst: +Playwright verwendet immer einen bereits laufenden Dev-Server (reuseExistingServer: true). +Damit gibt es keinen Port-Konflikt mehr, + +--- ## [1.6.785] – 2025-08-29 - fix: playwright ->npm run dev -p 3000 diff --git a/Jenkinsfile b/Jenkinsfile index 0645b40..4ba3761 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,21 +1,19 @@ pipeline { - agent any - - environment { - NODE_PATH = '/var/jenkins_home/.npm/node_modules' - NPM_CONFIG_CACHE = '/var/jenkins_home/.npm' + agent any + tools { nodejs 'node20' } + stages { + stage('Checkout') { + steps { checkout scm } } - - stages { - stage('Install dependencies') { - steps { - sh 'npm install --prefer-offline --no-audit' - } - } - stage('Run Playwright tests') { - steps { - sh 'npx playwright test' - } - } + stage('Install dependencies') { + steps { sh 'npm ci' } } -} \ No newline at end of file + stage('Playwright tests') { + steps { + // Installiert Browser & Systemdeps falls nötig + sh 'npx playwright install --with-deps' + sh 'npx playwright test' + } + } + } +} diff --git a/package-lock.json b/package-lock.json index d1b4d0b..0eb1304 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.785", + "version": "1.6.787", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.785", + "version": "1.6.787", "dependencies": { "@fontsource/roboto": "^5.1.0", "@headlessui/react": "^2.2.4", diff --git a/package.json b/package.json index dafc179..4e2741a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cpl-v4", - "version": "1.6.785", + "version": "1.6.787", "private": true, "scripts": { "dev": "next dev",