added options and test push event webhook
This commit is contained in:
23
Jenkinsfile
vendored
23
Jenkinsfile
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user