Files
tatort/Jenkinsfile
Jared b2e00eb030
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
added nodeJS as tool
2025-06-25 10:50:26 +02:00

42 lines
740 B
Groovy

pipeline {
agent any
tools {
nodejs 'NodeJS-24.2.0'
}
stages {
stage('Install Dependencies') {
steps {
sh 'npm ci'
}
}
stage('Test & Security Audit') {
steps {
echo 'Start checking security vulnerabilities in npm packages'
sh 'npm audit'
}
}
stage('Build') {
when {
branch 'development'
}
steps {
sh 'npm run build'
}
}
}
post {
success {
echo 'Pipeline erfolgreich!'
}
failure {
echo 'Pipeline fehlgeschlagen!'
}
}
}