build randomization script merge main -> 1.0

merge latest build_randomization.rb from main; relate to work to make
jenkins elastic search server randomization branch sensitive