I am using POM in automation and in the test I have 3 classes. let's say test1, test2 and test3
tester is providing a class name in property file so if tester provide like test1
in a property file, I have put conditions in java code to run class based on what tester provide in property file.
But now I want to set up the same thing from Jenkins using a single build. I do not want to create 3 builds for 3 classes, So if in property file tester provide value test1
, it should run class test1
from jenkins.
I did check for conditional build steps but seems could not satisfy my need.