Jenkinsfile small clean

This commit is contained in:
2023-04-24 15:49:25 +03:00
parent 13d79f929c
commit 7b13bba14b

7
Jenkinsfile vendored
View File

@@ -14,7 +14,9 @@ def build_docker(docker_image, docker_dir, release_dir) {
} }
return "\n - ${image_name}" return "\n - ${image_name}"
} }
properties([[$class: 'BuildDiscarderProperty', strategy: [$class: 'LogRotator', artifactDaysToKeepStr: '', artifactNumToKeepStr: '10', daysToKeepStr: '', numToKeepStr: '20']], copyArtifactPermission('*')]); properties([[$class: 'BuildDiscarderProperty', strategy: [$class: 'LogRotator', artifactDaysToKeepStr: '', artifactNumToKeepStr: '10', daysToKeepStr: '', numToKeepStr: '20']], copyArtifactPermission('*')]);
node { node {
stage("Download SRC") { stage("Download SRC") {
checkout scm checkout scm
@@ -40,7 +42,10 @@ node {
} }
} }
sh "docker system prune -f" stage("Clean") {
sh "docker system prune -f"
}
archiveArtifacts 'release/*' archiveArtifacts 'release/*'
echo "${_msg}" echo "${_msg}"
} }