From 35c5323a19e141dbd6d1d40cc035a53e2e5a0663 Mon Sep 17 00:00:00 2001 From: Jared Date: Thu, 26 Jun 2025 08:06:15 +0200 Subject: [PATCH] added options and test push event webhook --- Jenkinsfile | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 05f4320..3dafcb1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,7 +6,7 @@ pipeline { } options { - buildDiscarder( + buildDiscarder( BuildHistoryManager([ [ continueAfterMatch: false, matchAtMost: 5 ], [ actions: [ DeleteBuild() ] ] @@ -27,7 +27,6 @@ pipeline { sh 'npm audit' } } - // stage('Build') { // when { @@ -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 {