BACKGROUND : We have one Selenium automation project which is shared in BitBucket repository. Project is maven project. we have 10 testng.xml
files for all modules
OVERVIEW: Now we want to trigger the automation build once any changes committed in AUT application code. Also want to trigger the build for failed testcase in Post Step as well, So we will be sure with actual test failure. Once this execution done then it should send the email with report attachment.
PROBLEM: We are unable to decide What would be feasible Jenkins Job or Jenkins Pipeline ?
TRIALS : I have idea regarding Jenkins Job like setting up maven job and configuring post build trigger, email configuration but not clear enough as a layman.