Skip to content

Commit

Permalink
Add throttleJobProperty
Browse files Browse the repository at this point in the history
  • Loading branch information
FreddieAkeroyd authored Jul 9, 2021
1 parent 66b17e8 commit 7470455
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ pipeline {
// The options directive is for configuration that applies to the whole job.
options {
buildDiscarder(logRotator(numToKeepStr:'7', daysToKeepStr: '7'))
disableConcurrentBuilds()
timestamps()
// as we "checkout scm" as a stage, we do not need to do it here too
skipDefaultCheckout(true)
Expand All @@ -39,6 +38,11 @@ pipeline {
url: "${env.MSTEAMS_URL}"
]]
)
throttleJobProperty(
categories: ['system_tests_ioc'],
throttleEnabled: true,
throttleOption: 'category'
)
}

stages {
Expand Down

0 comments on commit 7470455

Please sign in to comment.