feat: Jenkinsfile
This commit is contained in:
@@ -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.755
|
NEXT_PUBLIC_APP_VERSION=1.6.756
|
||||||
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)
|
||||||
|
|
||||||
|
|||||||
@@ -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.755
|
NEXT_PUBLIC_APP_VERSION=1.6.756
|
||||||
NEXT_PUBLIC_CPL_MODE=production
|
NEXT_PUBLIC_CPL_MODE=production
|
||||||
@@ -1,3 +1,8 @@
|
|||||||
|
## [1.6.756] – 2025-08-28
|
||||||
|
|
||||||
|
- WIP: playwright Präsentation
|
||||||
|
|
||||||
|
---
|
||||||
## [1.6.755] – 2025-08-28
|
## [1.6.755] – 2025-08-28
|
||||||
|
|
||||||
- fix: KabelModulstatus KÜ V 421 und 431
|
- fix: KabelModulstatus KÜ V 421 und 431
|
||||||
|
|||||||
31
Jenkinsfile
vendored
Normal file
31
Jenkinsfile
vendored
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
pipeline {
|
||||||
|
agent any
|
||||||
|
environment {
|
||||||
|
CI = 'true'
|
||||||
|
}
|
||||||
|
stages {
|
||||||
|
stage('Install dependencies') {
|
||||||
|
steps {
|
||||||
|
script {
|
||||||
|
if (fileExists('package-lock.json')) {
|
||||||
|
bat 'npm ci'
|
||||||
|
} else {
|
||||||
|
bat 'npm install'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Run Playwright tests') {
|
||||||
|
steps {
|
||||||
|
bat 'npx playwright install --with-deps'
|
||||||
|
bat 'npx playwright test'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
post {
|
||||||
|
always {
|
||||||
|
junit 'playwright/test-results/**/*.xml'
|
||||||
|
archiveArtifacts artifacts: 'playwright/test-results/**', allowEmptyArchive: true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "cpl-v4",
|
"name": "cpl-v4",
|
||||||
"version": "1.6.755",
|
"version": "1.6.756",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "cpl-v4",
|
"name": "cpl-v4",
|
||||||
"version": "1.6.755",
|
"version": "1.6.756",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fontsource/roboto": "^5.1.0",
|
"@fontsource/roboto": "^5.1.0",
|
||||||
"@headlessui/react": "^2.2.4",
|
"@headlessui/react": "^2.2.4",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cpl-v4",
|
"name": "cpl-v4",
|
||||||
"version": "1.6.755",
|
"version": "1.6.756",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ import { runDashboardTest } from "./dashboardTest";
|
|||||||
import { runAnalogInputsTest } from "./analogInputsTest";
|
import { runAnalogInputsTest } from "./analogInputsTest";
|
||||||
import { runSettingsPageTest } from "./settingsPageTest";
|
import { runSettingsPageTest } from "./settingsPageTest";
|
||||||
|
|
||||||
|
import "./digitalInputsTest";
|
||||||
|
|
||||||
test("Dashboard, AnalogInputs und SettingsPage", async ({ page }) => {
|
test("Dashboard, AnalogInputs und SettingsPage", async ({ page }) => {
|
||||||
await runDashboardTest(page);
|
await runDashboardTest(page);
|
||||||
await runAnalogInputsTest(page);
|
await runAnalogInputsTest(page);
|
||||||
|
|||||||
Reference in New Issue
Block a user