Jenkins has a check box: “Execute concurrent builds if necessary”
If you check this, then it’ll start multiple builds for a job.
This works with the “This build is parameterized” checkbox.
You would still trigger the builds, passing your A
or B
as parameters. You can use another job to trigger them or you could do it manually via a script.