# Least load plugin in Multibranch pipeline

**URL:** <https://community.jenkins.io/t/least-load-plugin-in-multibranch-pipeline/5635>\
**Category:** Ask a question\
**Created:** [February 6, 2023, 4:30pm UTC](https://community.jenkins.io/t/least-load-plugin-in-multibranch-pipeline/5635 "2023-02-06T16:30:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![manishk](https://avatars.discourse-cdn.com/v4/letter/m/6a8cbe/32.png) [@manishk](https://community.jenkins.io/u/manishk)\
**Post date:** [February 6, 2023, 4:30pm UTC](https://community.jenkins.io/t/least-load-plugin-in-multibranch-pipeline/5635/1 "2023-02-06T16:30:08Z")

</div>

Hello,

I have installed Least Load Plugin v3.0.0 on master Jenkins v2.303.3.  
I am able to view option “Use default Jenkins load balancer” in a freestyle project as below:

![image](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/2X/3/34e4867ceefcaf3dbdb67d38eefca6d72b43a797.png)

but this option is not present in Multibranch Pipeline.

Do least load plugin SUPPORTED in Multibranch pipeline?

If yes, then how to enable this plugin or do we have any script to enable through a Jenkins file of multibranch pipeline?

Thanks,  
Manish Kumar

---

<div class="post-metadata">

**Author:** ![slide\_o\_mix](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/slide_o_mix/32/20977_2.png) [@slide\_o\_mix](https://community.jenkins.io/u/slide_o_mix)\
**Post date:** [February 6, 2023, 4:59pm UTC](https://community.jenkins.io/t/least-load-plugin-in-multibranch-pipeline/5635/2 "2023-02-06T16:59:13Z")

</div>

The option you are showing is to DISABLE the least load balancer, not enable it. Are you wanting to disable it for a specific build? It doesn’t look like there is a pipeline step or option to disable.

---

<div class="post-metadata">

**Author:** ![manishk](https://avatars.discourse-cdn.com/v4/letter/m/6a8cbe/32.png) [@manishk](https://community.jenkins.io/u/manishk)\
**Post date:** [February 6, 2023, 5:24pm UTC](https://community.jenkins.io/t/least-load-plugin-in-multibranch-pipeline/5635/3 "2023-02-06T17:24:55Z")

</div>

Thanks Alex for prompt reply,

I want to enable it for Multibranch pipeline.Does least load plugin support Multibranch pipeline?

And unlike freestyle project, multibranch pipeline doesn’t have “Use default Jenkins load balancer” option for disabling.

---

<div class="post-metadata">

**Author:** ![jglick](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/jglick/32/77_2.png) [@jglick](https://community.jenkins.io/u/jglick)\
**Post date:** [February 6, 2023, 6:19pm UTC](https://community.jenkins.io/t/least-load-plugin-in-multibranch-pipeline/5635/4 "2023-02-06T18:19:01Z")

</div>

In general, multibranch pipeline job options are set inside the `Jenkinsfile` itself (for the second and subsequent builds of a given branch), with the `properties` step (Scripted syntax) or `options` (Declarative syntax). The snippet generator will show the details. Whether this particular plugin supports Pipeline, I have no idea—that would be a question for the maintainer.
