Some checks failed
InnoHub Processor/tatort/pipeline/head Something is wrong with the build of this commit
50 lines
1.0 KiB
Groovy
50 lines
1.0 KiB
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'
|
|
// }
|
|
// }
|
|
|
|
stage('Manuelles Containerisieren') {
|
|
steps {
|
|
input message: 'Jetzt manuell freigeben für Deployment?'
|
|
sh 'docker build -t tatort-app .'
|
|
sh 'docker iamge ls'
|
|
}
|
|
}
|
|
}
|
|
|
|
post {
|
|
success {
|
|
echo 'Pipeline erfolgreich!'
|
|
}
|
|
failure {
|
|
echo 'Pipeline fehlgeschlagen!'
|
|
}
|
|
}
|
|
}
|