[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

View File

@@ -12,13 +12,14 @@ pipeline {
agent none
// Build stages
stages {
stage('Jenkins Win64: Get sources') {
agent { label 'win64 && build' }
stage('Jenkins Win64: 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
}