From 8117ebdf45310bf646736d53402832bd1a060a83 Mon Sep 17 00:00:00 2001 From: ISA Date: Thu, 28 Aug 2025 13:34:11 +0200 Subject: [PATCH] fix: Jenkinsfile --- .env.development | 2 +- .env.production | 2 +- CHANGELOG.md | 5 +++++ Jenkinsfile | 6 ++++++ package-lock.json | 4 ++-- package.json | 2 +- 6 files changed, 16 insertions(+), 5 deletions(-) diff --git a/.env.development b/.env.development index c1c0fbd..b6a60d0 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.763 +NEXT_PUBLIC_APP_VERSION=1.6.764 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 f129732..a97e11e 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.763 +NEXT_PUBLIC_APP_VERSION=1.6.764 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 68a63e1..74283b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [1.6.764] – 2025-08-28 + +- fix: test digitalInputsTest.ts + +--- ## [1.6.763] – 2025-08-28 - test: digitalInputsTest.ts diff --git a/Jenkinsfile b/Jenkinsfile index 2dd8255..74fd057 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,6 +6,12 @@ pipeline { sh 'npm ci' } } + stage('Start Webserver') { + steps { + sh 'nohup npm run dev &' + sleep(time: 20, unit: 'SECONDS') // Wartezeit für Server-Start + } + } stage('Run Playwright tests') { steps { sh 'npx playwright install' diff --git a/package-lock.json b/package-lock.json index 71660a5..f8c0e3c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.763", + "version": "1.6.764", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.763", + "version": "1.6.764", "dependencies": { "@fontsource/roboto": "^5.1.0", "@headlessui/react": "^2.2.4", diff --git a/package.json b/package.json index ec5ec25..460d907 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cpl-v4", - "version": "1.6.763", + "version": "1.6.764", "private": true, "scripts": { "dev": "next dev",