I use the job dsl to create multibranchPipelineJob jobs.
In my job dsl script I create some multibranchPipelineJobs. If I run the seed job, no matter if the config changed or not, it triggers a branch scan job for all the multibranchPipelineJobs. This must mean it's not idempotent and is just reapplying the config and saving it causing Jenkins to trigger scans for the jobs. Is this expected? Is there a way to have the job dsl check if there are changes first before just clobbering the whole thing every time?
I want to confirm the behavior I'm seeing is expected, or if I'm doing something wrong.