Jenkinsfile aktualisiert
Added options to delete old build
This commit is contained in:
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user