Add build discarding properties to Jenkinsfile
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
Introduce a build discarder configuration in the Jenkinsfile to retain the last 10 builds, improving build management and resource utilization.
This commit is contained in:
parent
3f5f02b087
commit
d649ce42ff
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -1,3 +1,7 @@
|
||||
properties([
|
||||
buildDiscarder(logRotator(numToKeepStr: '10'))
|
||||
])
|
||||
|
||||
def writeBuildMetadata() {
|
||||
nodejs(nodeJSInstallationName: 'Node23') {
|
||||
if (isUnix()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user