mirror of
https://github.com/lxsang/antd-wvnc-plugin.git
synced 2024-12-27 04:18:22 +01:00
Update Jenkinsfile
This commit is contained in:
parent
a137ec52a1
commit
14c28b2c36
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
@ -19,11 +19,6 @@ def build_plugin()
|
|||||||
pipeline{
|
pipeline{
|
||||||
agent { node{ label'master' }}
|
agent { node{ label'master' }}
|
||||||
options {
|
options {
|
||||||
// Limit build history with buildDiscarder option:
|
|
||||||
// daysToKeepStr: history is only kept up to this many days.
|
|
||||||
// numToKeepStr: only this many build logs are kept.
|
|
||||||
// artifactDaysToKeepStr: artifacts are only kept up to this many days.
|
|
||||||
// artifactNumToKeepStr: only this many builds have their artifacts kept.
|
|
||||||
buildDiscarder(logRotator(numToKeepStr: "1"))
|
buildDiscarder(logRotator(numToKeepStr: "1"))
|
||||||
// Enable timestamps in build log console
|
// Enable timestamps in build log console
|
||||||
timestamps()
|
timestamps()
|
||||||
@ -41,9 +36,6 @@ pipeline{
|
|||||||
docker {
|
docker {
|
||||||
image 'xsangle/ci-tools:latest-amd64'
|
image 'xsangle/ci-tools:latest-amd64'
|
||||||
args '-v /var/jenkins_home/workspace/ant-http:/var/jenkins_home/workspace/ant-http'
|
args '-v /var/jenkins_home/workspace/ant-http:/var/jenkins_home/workspace/ant-http'
|
||||||
// Run the container on the node specified at the
|
|
||||||
// top-level of the Pipeline, in the same workspace,
|
|
||||||
// rather than on a new node entirely:
|
|
||||||
reuseNode true
|
reuseNode true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -59,9 +51,6 @@ pipeline{
|
|||||||
docker {
|
docker {
|
||||||
image 'xsangle/ci-tools:latest-arm64'
|
image 'xsangle/ci-tools:latest-arm64'
|
||||||
args '-v /var/jenkins_home/workspace/ant-http:/var/jenkins_home/workspace/ant-http'
|
args '-v /var/jenkins_home/workspace/ant-http:/var/jenkins_home/workspace/ant-http'
|
||||||
// Run the container on the node specified at the
|
|
||||||
// top-level of the Pipeline, in the same workspace,
|
|
||||||
// rather than on a new node entirely:
|
|
||||||
reuseNode true
|
reuseNode true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -77,9 +66,6 @@ pipeline{
|
|||||||
docker {
|
docker {
|
||||||
image 'xsangle/ci-tools:latest-arm'
|
image 'xsangle/ci-tools:latest-arm'
|
||||||
args '-v /var/jenkins_home/workspace/ant-http:/var/jenkins_home/workspace/ant-http'
|
args '-v /var/jenkins_home/workspace/ant-http:/var/jenkins_home/workspace/ant-http'
|
||||||
// Run the container on the node specified at the
|
|
||||||
// top-level of the Pipeline, in the same workspace,
|
|
||||||
// rather than on a new node entirely:
|
|
||||||
reuseNode true
|
reuseNode true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -99,4 +85,3 @@ pipeline{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Footer
|
|
||||||
|
Loading…
Reference in New Issue
Block a user