[CI] Enforce daily budget in Jenkins CI (#5884)
* [CI] Throttle Jenkins CI * Don't use Jenkins master instance
This commit is contained in:
committed by
GitHub
parent
dd445af56e
commit
e0c179c7cc
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@@ -31,13 +31,14 @@ pipeline {
|
||||
|
||||
// Build stages
|
||||
stages {
|
||||
stage('Jenkins Linux: Get sources') {
|
||||
agent { label 'linux && cpu' }
|
||||
stage('Jenkins Linux: Initialize') {
|
||||
agent { label 'job_initializer' }
|
||||
steps {
|
||||
script {
|
||||
checkoutSrcs()
|
||||
commit_id = "${GIT_COMMIT}"
|
||||
}
|
||||
sh 'python3 tests/jenkins_get_approval.py'
|
||||
stash name: 'srcs'
|
||||
milestone ordinal: 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user