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_EXPORT_STATIC=false
NEXT_PUBLIC_USE_CGI=false NEXT_PUBLIC_USE_CGI=false
# App-Versionsnummer # 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) 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_EXPORT_STATIC=true
NEXT_PUBLIC_USE_CGI=true NEXT_PUBLIC_USE_CGI=true
# App-Versionsnummer # App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.6.756 NEXT_PUBLIC_APP_VERSION=1.6.757
NEXT_PUBLIC_CPL_MODE=production 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 ## [1.6.756] 2025-08-28
- WIP: playwright Präsentation - WIP: playwright Präsentation

15
Jenkinsfile vendored
View File

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

4
package-lock.json generated
View File

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

View File

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