1 Question : “I am trying to get my test cases to show up on
CircleCI but it is not working. I have a fork of this project in my
github account https://github.com/mtedone/podam. I added the project to CircleCI and got a green build but the Test Results tab is empty”
2nd Question : I added my project to CircleCI but I can’t get the build
complete. I’m not sure what I’m doing wrong. Can you help? My project is https://github.com/nym2015/commons-csv.
1st question:
You should be able to get your test results to show up by following the steps shown here.
2nd question:
Can you please provide more information about the issue you are having?
Are builds getting triggered by GitHub pushes?
Are you seeing any errors in the build output? Are there any commands that are timing out? If so, can you share the relevant commands and paste the build output here?
I’m new to testing and I’m working on the same problem. However, using Frank’s solution for the first question still doesn’t solve it. The test runs successfully but there are no test results. Please advise.
Can you also explain why we are using the code to generate test reports for Maven based projects? The earlier code was for custom Cucumber steps.
You need to turn on Maven Surefire Plugin in pov.xml file to see artifacts.
Go to Pov.xml and search for maven-surefire-plugin .
You will see below snippet of code on it
maven-surefire-plugin</artifactId>
<> version>2.11</ version>
true<*skip>
Remove below 3 lines to activate surfire-plugin
true<*skip>
After doing this I believe , you will be able to see artifacts .
Regards,
Devendra
I am working on the same problems and need your help on it… I have added the same script in my circle.yml file and also modified pom.xml file as per your suggestions… however my build is still unsuccessful… I see a warning message as “We couldn’t detect the settings for your project! Please make sure you have a circle.yml configuration file in place”. Also, I am assuming that since my build has failed, I do not see any artifacts either… appreciate your prompt response…
Hi @DevendraMeena1 when I try to build the podam, I get the error: “Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:resolve-plugins (resolve-plugins) on project podam: Nested: Could not find artifact org.eclipse.mylyn.github:org.eclipse.egit.github.core:jar:3.1.0.201310021548-r in central (https://repo.maven.apache.org/maven2)”.