Compare commits
37 Commits
b273b8046a
...
fee152553b
| Author | SHA1 | Date | |
|---|---|---|---|
| fee152553b | |||
| 2ed49394d7 | |||
| c74322228f | |||
| 95936b09b5 | |||
| 1d84b67a94 | |||
| 083efb3aec | |||
| fd17d10119 | |||
| 9ad96abb77 | |||
| 4dcd2e1a63 | |||
| 331b9c22e1 | |||
| 997ef6e30d | |||
| 1c394dff72 | |||
| 8c29d39bf6 | |||
| 0181fb288b | |||
| 1de66b11b3 | |||
| f2dd50c16e | |||
| be61814b58 | |||
| 62bca02625 | |||
| 15529541ed | |||
| b432554cca | |||
| b991904921 | |||
| 66794ef0f6 | |||
| b46852e385 | |||
| d0c6feee33 | |||
| 38f9f61e8a | |||
| 2effdb12c1 | |||
| 0b4df7b714 | |||
| ea9b61fe79 | |||
| 8b276f9828 | |||
| 56cfd79687 | |||
| b2e00eb030 | |||
| d5a7058f2d | |||
| 355e4f3287 | |||
| 7d15e0369d | |||
| d6baaef992 | |||
| 533d94c6a5 | |||
| 41a98d3d1d |
52
Jenkinsfile
vendored
Normal file
52
Jenkinsfile
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
|
||||
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('Push image in gitea registry') {
|
||||
// steps {
|
||||
// echo 'Start Pushing'
|
||||
// script {
|
||||
// docker.withRegistry('https://gitea.innovation-hub-niedersachsen.de', 'JenkinsGitea') {
|
||||
// docker.build('innohub/tatort-app').push('latest')
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
post {
|
||||
success {
|
||||
echo 'Pipeline erfolgreich!'
|
||||
}
|
||||
failure {
|
||||
echo 'Pipeline fehlgeschlagen!'
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user