From 4f9d7312907196b250ad0f8d289ec74485023a3c Mon Sep 17 00:00:00 2001 From: ISA Date: Sun, 14 Jul 2024 09:29:36 +0200 Subject: [PATCH] node.js Version herausfinden in Jenkins-Server --- Jenkinsfile | 11 +++++++++++ components/MapComponent.js | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1a83bb9be..d6fd6aac8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -19,6 +19,17 @@ pipeline { } } + stage('Check Node.js Version') { + steps { + script { + nodejs('NodeJS') { + // Node.js-Version anzeigen + sh 'node -v' + } + } + } + } + stage('Install Dependencies') { steps { script { diff --git a/components/MapComponent.js b/components/MapComponent.js index 20cb7503b..5c5739db7 100644 --- a/components/MapComponent.js +++ b/components/MapComponent.js @@ -38,7 +38,7 @@ import "react-toastify/dist/ReactToastify.css"; import { mapIdState, userIdState } from "../store/atoms/urlParameterState"; import { set } from "lodash"; import { poiLayerVisibleState } from "../store/atoms/poiLayerVisible"; -//import { data } from "autoprefixer"; +import { data } from "autoprefixer"; import plusRoundIcon from "./PlusRoundIcon.js"; //---------------------------------------------------------------------