node.js Version herausfinden in Jenkins-Server

This commit is contained in:
ISA
2024-07-14 09:29:36 +02:00
parent 5e3130cbc0
commit 4f9d731290
2 changed files with 12 additions and 1 deletions

11
Jenkinsfile vendored
View File

@@ -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 {