Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-69648

Plugin does not work when builders are dockers triggered

      Script ignores limits set by plugin and triggers as much jobs as it can.

          [JENKINS-69648] Plugin does not work when builders are dockers triggered

          Mallappa Pujari added a comment - - edited

          oleg_nenashev,I also has same problem, when throttle category is wrapped in agent type docker globally, throttling is not working.

          builds are executing as defined node level. Is there an known issue?

          Please find the pipeline code snippet as below. The same code is reflecting the configuration(find below screenshot) but throttling feature is not working.

          Please suggest what it could be missing.

           

          agent {
             docker

          {     reuseNode true            registryUrl "internal_docker_registry"            image "xyz"            label "node_x"    }

            } 

           throttleJobProperty(
                    categories: ['beefy'],
                    limitOneJobWithMatchingParams: false,
                    throttleEnabled: true,
                    throttleOption: 'category'
              )

          Mallappa Pujari added a comment - - edited oleg_nenashev ,I also has same problem, when throttle category is wrapped in agent type docker globally, throttling is not working. builds are executing as defined node level. Is there an known issue? Please find the pipeline code snippet as below. The same code is reflecting the configuration(find below screenshot) but throttling feature is not working. Please suggest what it could be missing.   agent {    docker {     reuseNode true            registryUrl "internal_docker_registry"            image "xyz"            label "node_x"    }   }   throttleJobProperty(           categories: ['beefy'] ,           limitOneJobWithMatchingParams: false,           throttleEnabled: true,           throttleOption: 'category'     )

            oleg_nenashev Oleg Nenashev
            chencho chencho chencho
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: