fix Jenkinsfile 4
All checks were successful
SHS Gitea/shstk/pipeline/head This commit looks good

This commit is contained in:
Бычков Андрей
2022-06-09 17:23:49 +03:00
parent e0f4935345
commit 41dbad5921

12
Jenkinsfile vendored
View File

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