The repository that I am using is the following https://github.com/MarisolChambiArrosquipa/antProjectWithTestng.git
We will use the following test case
TestNg file
Ant build file
Install plugins
- install gitHub plugin
- install testNg plugin
Set up Job
Create a new job
Click on Git and put the repository url and add a credential
Specify the ant build file
Add post-build action, after the execute the build, it will generate a report TestNG results
We have to specify the route where will be generated the TestNG results
Build project
Console output











