ci043-add-jenkins-ci #13

Merged
jared merged 36 commits from ci043-add-jenkins-ci into development 2025-06-25 16:40:38 +02:00
Showing only changes of commit 331b9c22e1 - Show all commits

32
Jenkinsfile vendored
View File

@@ -14,18 +14,18 @@ pipeline {
// }
stages {
stage('Install Dependencies') {
steps {
sh 'npm ci'
}
}
// stage('Install Dependencies') {
// steps {
// sh 'npm ci'
// }
// }
stage('Test & Security Audit') {
steps {
echo 'Start checking security vulnerabilities in npm packages'
sh 'npm audit'
}
}
// stage('Test & Security Audit') {
// steps {
// echo 'Start checking security vulnerabilities in npm packages'
// sh 'npm audit'
// }
// }
// stage('Build') {
// when {
@@ -47,11 +47,11 @@ pipeline {
stage('Push image in gitea registry') {
steps {
echo 'Start Pushing'
// script {
// docker.withRegistry("${ REGISTRY }", 'docker-login') {
// docker.build("${ IMAGE }").push('latest')
// }
//}
script {
docker.withRegistry('https://gitea.innovation-hub-niedersachsen.de/', 'docker-login') {
docker.build('tatort-app').push('latest')
}
}
}
}
}