-
Bug
-
Resolution: Fixed
-
Minor
-
Jenkins 2.401.1
I am running Jenkins in docker.
I labled master node (docker) and also set executers to 0.
Still Scan multibranch pipeline always run on n built in master node and not on build agents (set up using EC2). It appears to ignore any labelling or executers set to 0.
All my jobs runs on build agents as they should as built in master node is labled and have 0 executers.
Is this default behaviour or bug? How can i run scans on build agents?
This is the expected behavior. Scans of multibranch Pipelines are performed on the controller (we stopped using the word "master" to describe the controller years ago). When the scan detects a job that needs to be run (or created and run), that run is performed on an agent if the controller has 0 executors.