fix Jenkinsfile 2
Some checks failed
SHS Gitea/shstk/pipeline/head There was a failure building this commit
Some checks failed
SHS Gitea/shstk/pipeline/head There was a failure building this commit
This commit is contained in:
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@@ -20,10 +20,6 @@ def build_docker(name, release_dir) {
|
|||||||
return "\n - ${image_name}"
|
return "\n - ${image_name}"
|
||||||
}
|
}
|
||||||
node {
|
node {
|
||||||
options {
|
|
||||||
copyArtifactPermission('*');
|
|
||||||
buildDiscarder(logRotator(numToKeepStr: "20", artifactNumToKeepStr: "10"))
|
|
||||||
}
|
|
||||||
stage("checkout") {
|
stage("checkout") {
|
||||||
checkout scm
|
checkout scm
|
||||||
}
|
}
|
||||||
@@ -53,3 +49,12 @@ node {
|
|||||||
archiveArtifacts 'release/*'
|
archiveArtifacts 'release/*'
|
||||||
echo "${_msg}"
|
echo "${_msg}"
|
||||||
}
|
}
|
||||||
|
pipeline {
|
||||||
|
agent {
|
||||||
|
label 'master'
|
||||||
|
}
|
||||||
|
options {
|
||||||
|
copyArtifactPermission('*');
|
||||||
|
buildDiscarder(logRotator(numToKeepStr: "20", artifactNumToKeepStr: "10"))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user