[CI] Enforce daily budget in Jenkins CI (#5884)

* [CI] Throttle Jenkins CI

* Don't use Jenkins master instance
This commit is contained in:
Philip Hyunsu Cho
2020-07-13 21:51:11 -07:00
committed by GitHub
parent dd445af56e
commit e0c179c7cc
3 changed files with 32 additions and 4 deletions

5
Jenkinsfile vendored
View File

@@ -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
}