This commit is contained in:
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@@ -19,6 +19,7 @@ def build_docker(name, release_dir) {
|
||||
}
|
||||
return "\n - ${image_name}"
|
||||
}
|
||||
properties([[$class: 'BuildDiscarderProperty', strategy: [$class: 'LogRotator', artifactDaysToKeepStr: '', artifactNumToKeepStr: '10', daysToKeepStr: '', numToKeepStr: '20']], copyArtifactPermission('*')]);
|
||||
node {
|
||||
stage("checkout") {
|
||||
checkout scm
|
||||
@@ -49,13 +50,4 @@ node {
|
||||
archiveArtifacts 'release/*'
|
||||
echo "${_msg}"
|
||||
}
|
||||
pipeline {
|
||||
agent {
|
||||
label 'master'
|
||||
}
|
||||
options {
|
||||
copyArtifactPermission('*');
|
||||
buildDiscarder(logRotator(numToKeepStr: "20", artifactNumToKeepStr: "10"))
|
||||
}
|
||||
stages {}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user