Jenkinsfile aktualisiert

Added options to delete old build
This commit is contained in:
2025-06-26 08:04:19 +02:00
parent 1fabe234e0
commit 5a1cd22dc6

10
Jenkinsfile vendored
View File

@@ -1,4 +1,3 @@
pipeline { pipeline {
agent any agent any
@@ -6,6 +5,15 @@ pipeline {
nodejs 'NodeJS-24.2.0' nodejs 'NodeJS-24.2.0'
} }
options {
buildDiscarder(
BuildHistoryManager([
[ continueAfterMatch: false, matchAtMost: 5 ],
[ actions: [ DeleteBuild() ] ]
])
)
}
stages { stages {
stage('Install Dependencies') { stage('Install Dependencies') {
steps { steps {