mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
Jenkins discard artifacts sooner
This commit is contained in:
@@ -121,7 +121,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
options {
|
options {
|
||||||
buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '30'))
|
buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '20'))
|
||||||
timeout(time: 60, unit: 'MINUTES')
|
timeout(time: 60, unit: 'MINUTES')
|
||||||
}
|
}
|
||||||
} // pipeline
|
} // pipeline
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
options {
|
options {
|
||||||
buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '30'))
|
buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '20'))
|
||||||
timeout(time: 60, unit: 'MINUTES')
|
timeout(time: 60, unit: 'MINUTES')
|
||||||
}
|
}
|
||||||
} // pipeline
|
} // pipeline
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
options {
|
options {
|
||||||
buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '30'))
|
buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '20'))
|
||||||
timeout(time: 60, unit: 'MINUTES')
|
timeout(time: 60, unit: 'MINUTES')
|
||||||
}
|
}
|
||||||
} // pipeline
|
} // pipeline
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ pipeline {
|
|||||||
CI = true
|
CI = true
|
||||||
}
|
}
|
||||||
options {
|
options {
|
||||||
buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '30'))
|
buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '20'))
|
||||||
timeout(time: 120, unit: 'MINUTES')
|
timeout(time: 120, unit: 'MINUTES')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -955,7 +955,7 @@ pipeline {
|
|||||||
CI = true
|
CI = true
|
||||||
}
|
}
|
||||||
options {
|
options {
|
||||||
buildDiscarder(logRotator(numToKeepStr: '20', artifactDaysToKeepStr: '30'))
|
buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '20'))
|
||||||
timeout(time: 60, unit: 'MINUTES')
|
timeout(time: 60, unit: 'MINUTES')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ pipeline {
|
|||||||
CI = true
|
CI = true
|
||||||
}
|
}
|
||||||
options {
|
options {
|
||||||
buildDiscarder(logRotator(numToKeepStr: '20', artifactDaysToKeepStr: '30'))
|
buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '20'))
|
||||||
timeout(time: 60, unit: 'MINUTES')
|
timeout(time: 60, unit: 'MINUTES')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ pipeline {
|
|||||||
HEXAGON_TOOLS_ROOT="/home/jenkins/Qualcomm/HEXAGON_Tools/7.2.12/Tools"
|
HEXAGON_TOOLS_ROOT="/home/jenkins/Qualcomm/HEXAGON_Tools/7.2.12/Tools"
|
||||||
}
|
}
|
||||||
options {
|
options {
|
||||||
buildDiscarder(logRotator(numToKeepStr: '20', artifactDaysToKeepStr: '30'))
|
buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '20'))
|
||||||
timeout(time: 60, unit: 'MINUTES')
|
timeout(time: 60, unit: 'MINUTES')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -711,7 +711,7 @@ pipeline {
|
|||||||
GIT_COMMITTER_NAME = "PX4BuildBot"
|
GIT_COMMITTER_NAME = "PX4BuildBot"
|
||||||
}
|
}
|
||||||
options {
|
options {
|
||||||
buildDiscarder(logRotator(numToKeepStr: '20', artifactDaysToKeepStr: '30'))
|
buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '20'))
|
||||||
timeout(time: 60, unit: 'MINUTES')
|
timeout(time: 60, unit: 'MINUTES')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user