fix: Jenkinsfile

This commit is contained in:
ISA
2025-08-28 08:13:53 +02:00
parent 37bbd6a9b3
commit c8f3d91f9c
6 changed files with 20 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.756
NEXT_PUBLIC_APP_VERSION=1.6.757
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.756
NEXT_PUBLIC_APP_VERSION=1.6.757
NEXT_PUBLIC_CPL_MODE=production

View File

@@ -1,3 +1,8 @@
## [1.6.757] 2025-08-28
- feat: Jenkinsfile
---
## [1.6.756] 2025-08-28
- WIP: playwright Präsentation

15
Jenkinsfile vendored
View File

@@ -1,5 +1,10 @@
pipeline {
agent any
agent {
docker {
image 'mcr.microsoft.com/playwright:v1.45.0-jammy'
args '-u root'
}
}
environment {
CI = 'true'
}
@@ -8,17 +13,17 @@ pipeline {
steps {
script {
if (fileExists('package-lock.json')) {
bat 'npm ci'
sh 'npm ci'
} else {
bat 'npm install'
sh 'npm install'
}
}
}
}
stage('Run Playwright tests') {
steps {
bat 'npx playwright install --with-deps'
bat 'npx playwright test'
sh 'npx playwright install'
sh 'npx playwright test || true'
}
}
}

4
package-lock.json generated
View File

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

View File

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