Skip to content

sirius.sonar-master

Launch tests and Sonar analysis.
This job is also impacted by Sirius tests problem on Eclipse infrastructure (see bugzilla 445371 for more details).
The Eclipse infrastructure has moved from SonarQube to SonarCloud (see bugzilla 553734). So results of the analyzes launched before december 2019 are available on SonarQube and the other launched after are available on SonarCloud.
"swtbot" profile has been removed since december 2019. The Eclipse platform changes, JIPP and/or Container Docker, make swtbot fail with unknown reasons (maybe resources problem on Docker). To reactivate it, just add "swtbot" to the profiles list in the 2 maven commands.

In february 2024, some changes have been done to "reenable" Sonar code coverage. Swtbot tests have been added again (probably OK because of the new pod with 6Go instead of 4Go, see issue 3798). The changes in the code are visible in Github. Concerning the configuration of this job, there are two steps:
  • A first mvn command to execute the tests and store the jacoco code coverage result in a binary file (same for all tests suite).
  • A second mvn command to consume the previous result to generate one result XML file per module, that is used just after by Sonar.
Test Result Trend
SonarQube
Last Successful Artifacts
org_eclipse_sirius_tests_junit-JUnit.txt284.23 KB view
org.eclipse.sirius.tests.junit/target/surefire.properties644 B view
org.eclipse.sirius.tests.junit/target/work/data/.metadata/.log373.93 KB view
org_eclipse_sirius_tests_junit_xtext-Xtext-JUnit.txt297.37 KB view
org.eclipse.sirius.tests.junit.xtext/target/surefire.properties673 B view
org.eclipse.sirius.tests.junit.xtext/target/work/data/.metadata/.log2.55 KB view
org_eclipse_sirius_tests_swtbot-SWTBot-Sequence.txt299.78 KB view
org_eclipse_sirius_tests_swtbot-SWTBot.txt339.64 KB view
screenshot-HeaderSequenceDiagramTests.testChangeLabelColor-before-tearDown.jpeg123.57 KB view
screenshot-HeaderSequenceDiagramTests.testChangeLabelColor.jpeg80.37 KB view
org.eclipse.sirius.tests.swtbot/target/surefire.properties726 B view
org.eclipse.sirius.tests.swtbot/target/work/data/.metadata/.log297.69 KB view
org.eclipse.sirius.tests.tree/target/surefire.properties646 B view
org.eclipse.sirius.tests.tree/target/work/data/.metadata/.log53.60 KB view
org.eclipse.sirius.tests.ui.properties/target/surefire.properties675 B view
org.eclipse.sirius.tests.ui.properties/target/work/data/.metadata/.log3.91 KB view
Latest Test Result (1 failure / -1)