added options and test push event webhook

This commit is contained in:
2025-06-26 08:06:15 +02:00
parent 5a1cd22dc6
commit 35c5323a19

23
Jenkinsfile vendored
View File

@@ -6,7 +6,7 @@ pipeline {
}
options {
buildDiscarder(
buildDiscarder(
BuildHistoryManager([
[ continueAfterMatch: false, matchAtMost: 5 ],
[ actions: [ DeleteBuild() ] ]
@@ -28,7 +28,6 @@ pipeline {
}
}
// stage('Build') {
// when {
// branch 'development'
@@ -38,16 +37,16 @@ pipeline {
// }
// }
// 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')
// }
// }
// }
// }
// 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 {