Currently I'm using Jenkins to kick off a TestNG suite which has been
exported to a runnable jar file. If i run this locally without Jenkins
through command line my tests run without a problem only once.
Once i build a job through Jenkins [verified the TestNG plugin is in
place], the tests are kicked off however testNG runs twice. Once completed
Jenkins doesn't acknowledge the test results.
Setup:
Jenkins Job - > Configuration Matrix to a Slave (Win 8.1)
Build is using Execute Windows Batch command
cd \
cd Selenium
cd JarOutput
java -jar scLocalSmoke.jar
Post build actions
- Publish TestNG Results [all things checked]
- E-Mail Notifications
***bonus question, I'm also trying to get the post build action to email
the results to users...any advice would be great.
I'm definitely new to Jenkins and TestNG so I'm sure i'm missing something
blatant.
Thanks for any help that can be provided.
----AS REQUESTED THE JENKINS CONFIG: I tried to keep this extremely not
complicated. Multi-Config Project Name: Win_8.1Test Nothing noted in the
top section
Advanced Project Options = nothing
Source Code Management = Nothing
Build Triggers = nothing
Configuration Matrix = Slaves only pointing to the agent node correlating
to Win 8.1
Nothing in Build Environment
Build > Execute Windows Batch Command noted above also attempted to call to
a bat file same results
Post build actions:
Publish TestNG Results attempted with the default **/testng-results.xml as
well as the absolute path
E-mail Notification
------------------------------
Slave (This may be where all the issues are I think...first node i've built
followed all instructions.)
Name: RenSys Description: Ren's System
of Executors 1
Remote Root dir: c:\ Labels: Win_8.1 Usage: Only build jobs with label
restrictions matching this node Launch method: Launch slave agents via Java
Web Start Availability Keep this slave on-line as much as possible.
No Node properties checked.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/dd7d5f4a-a730-4a5b-b48c-0553cc4cefac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.