Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emails received from Jenkins job is not having test run details #6

Open
manishmittal79 opened this issue Oct 21, 2016 · 1 comment
Open

Comments

@manishmittal79
Copy link

Details of the requirements:

trainer: Installed using gem and not using fastlane.
CI: Jenkins

To convert xcodebuild output to xml I am using trainer tool.

I have a test suite of 20 test cases written in swift using XCTest UITesting and setup a jenkins job to run the suite. The job runs on scheduled time and send an Email to the recipients. But, when I received the Email, the email is empty.
I am using Email-plugin for jenkins that uses xml file generated by job and uses jelly script to send the Emails in html/text format.
When I am checking console output of test job, it is nicely formatted.

xcodebuild -workspace ../../NYTimes.xcworkspace -scheme "$scheme" -sdk "$1" -destination "$2" -derivedDataPath $3 test
run trainer --path ../NYTimesUITests/test-output/Logs/Test -e .xml --output ../NYTimesUITests/Scripts/build/reports

In first line above, using test-output for 3 and it is generating the test output in the workspace path.
In second line I am running trainer to specify the path where to find the derived data path and it should convert the output to xml at desired location.

Please help me in resolving this issue. I already had a Email discussion with Felix and as suggested i am creating this github issue.

I know I am missing something but not able to figure it out.
I am attaching screenshots here.

email example from appium python test run
email example from xctest run
screen shot 2016-10-18 at 10 07 44 am

@manishmittal79
Copy link
Author

manishmittal79 commented Oct 21, 2016

The first screenshot is from appium python test running on the same slave machine.
The second screenshot is the one I am facing issue.
The third one is from jenkins post build action.

Please let know if any further information is required.
I am attaching shell script uitestrun in text format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant