Jenkinsfile aktualisiert
Added options to delete old build
This commit is contained in:
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@@ -1,4 +1,3 @@
|
||||
|
||||
pipeline {
|
||||
agent any
|
||||
|
||||
@@ -6,6 +5,15 @@ pipeline {
|
||||
nodejs 'NodeJS-24.2.0'
|
||||
}
|
||||
|
||||
options {
|
||||
buildDiscarder(
|
||||
BuildHistoryManager([
|
||||
[ continueAfterMatch: false, matchAtMost: 5 ],
|
||||
[ actions: [ DeleteBuild() ] ]
|
||||
])
|
||||
)
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('Install Dependencies') {
|
||||
steps {
|
||||
|
||||
Reference in New Issue
Block a user