mardi 31 mai 2016

Parallel Test Execution Jenkins

I have some automated tests that I'm running using Jenkins.

I've Jenkins connected to my GitSwarm which pulls the code from my branch and then exectutes it.

I have installed the "Parallel Test Job Execution Plugin" for Jenkins.

In the plugin I have specified the tests to run in 3 batches

screenshot

Is there anything else I should specify? I didn't think I would have to since I'm connecting to GitSwarm to run the code. The console output seems to state otherwise !

Building in workspace C:\Jenkins\jobs\GIT_DVT\workspace

git.exe rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository git.exe config remote.origin.url http://ift.tt/25xKWhh # timeout=10 Fetching upstream changes from http://ift.tt/25xKWhh git.exe --version # timeout=10 using .gitcredentials to set credentials git.exe config --local credential.username reganc3 # timeout=10 git.exe config --local credential.helper store --file=\"C:\Users\ADMINI~1\AppData\Local\Temp\2\git5891789764540509525.credentials\" # timeout=10 git.exe -c core.askpass=true fetch --tags --progress http://ift.tt/25xKWhh +refs/heads/:refs/remotes/origin/ git.exe config --local --remove-section credential # timeout=10 git.exe rev-parse "origin/Uni_360_1.0^{commit}" # timeout=10 Checking out Revision 08df9a379e14d8a634e4533d962f5919f755ae67 (origin/Uni_360_1.0) git.exe config core.sparsecheckout # timeout=10 git.exe checkout -f 08df9a379e14d8a634e4533d962f5919f755ae67 git.exe rev-list 08df9a379e14d8a634e4533d962f5919f755ae67 # timeout=10 No record available, so executing everything in one place [parameterized-trigger] Current build has no parameters. ERROR: Build aborted. No projects to trigger. Check your configuration! TestNG Reports Processing: START Looking for TestNG results report in workspace using pattern: C:\jenkins\jobs\GIT_DVT\workspace\unisphere360\target\surefire-reports\ Did not find any matching files. Finished: FAILURE

Any help would be greatly appreciated, it does seem like an easy way to have tests running parallel so hopefully its only a small error.

Thanks, Colin.

Aucun commentaire:

Enregistrer un commentaire