Jenkinsfile small clean
This commit is contained in:
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@@ -14,7 +14,9 @@ def build_docker(docker_image, docker_dir, release_dir) {
|
||||
}
|
||||
return "\n - ${image_name}"
|
||||
}
|
||||
|
||||
properties([[$class: 'BuildDiscarderProperty', strategy: [$class: 'LogRotator', artifactDaysToKeepStr: '', artifactNumToKeepStr: '10', daysToKeepStr: '', numToKeepStr: '20']], copyArtifactPermission('*')]);
|
||||
|
||||
node {
|
||||
stage("Download SRC") {
|
||||
checkout scm
|
||||
@@ -40,7 +42,10 @@ node {
|
||||
}
|
||||
}
|
||||
|
||||
sh "docker system prune -f"
|
||||
stage("Clean") {
|
||||
sh "docker system prune -f"
|
||||
}
|
||||
|
||||
archiveArtifacts 'release/*'
|
||||
echo "${_msg}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user