Files
tatort/Jenkinsfile
Jared 41a98d3d1d
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
added first Jenkins ci
2025-06-25 09:52:46 +02:00

38 lines
709 B
Groovy

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