fix Jenkinsfile 2
Some checks failed
SHS Gitea/shstk/pipeline/head There was a failure building this commit

This commit is contained in:
Бычков Андрей
2022-06-09 17:12:51 +03:00
parent 9fddb4445a
commit bde2c85591

13
Jenkinsfile vendored
View File

@@ -20,10 +20,6 @@ def build_docker(name, release_dir) {
return "\n - ${image_name}"
}
node {
options {
copyArtifactPermission('*');
buildDiscarder(logRotator(numToKeepStr: "20", artifactNumToKeepStr: "10"))
}
stage("checkout") {
checkout scm
}
@@ -53,3 +49,12 @@ node {
archiveArtifacts 'release/*'
echo "${_msg}"
}
pipeline {
agent {
label 'master'
}
options {
copyArtifactPermission('*');
buildDiscarder(logRotator(numToKeepStr: "20", artifactNumToKeepStr: "10"))
}
}