apuntes:calidad
This is an old revision of the document!
Table of Contents
Calidad, pruebas y rendimiento
Calidad del código
SonarQube
Máquina virtual con SonarQube
Configurar Maven con SonarQube
- settings.xml
<settings> <profiles> <profile> <id>sonar</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <sonar.host.url> http://192.168.8.107 </sonar.host.url> </properties> </profile> </profiles> </settings>
. . . <build> <pluginManagement> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>sonar-maven-plugin</artifactId> <version>3.8.0.2131</version> </plugin> </plugins> </pluginManagement> </build> . . .
santi@zenbook:$ mvn clean compile santi@zenbook:$ mvn sonar:sonar -Dsonar.login=admin -Dsonar.password=sonar . . . . . . [INFO] ANALYSIS SUCCESSFUL, you can browse http://192.168.8.107/dashboard?id=com.sanvalero.introrxjava%3AIntroRxJava [INFO] Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report [INFO] More about the report processing at http://192.168.8.107/api/ce/task?id=AXfWTNYWvSx51keoM15i [INFO] Analysis total time: 31.355 s [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 34.022 s [INFO] Finished at: 2021-02-25T00:08:15+01:00 [INFO] ------------------------------------------------------------------------
Integrar SonarQube con Jenkins
Monitorizar el rendimiento
JConsole
Ejecutar JConsole
santi@zenbook:$ jconsole
VisualVM
Pruebas de rendimiento
JMeter
Integrar JMeter con Jenkins
apuntes/calidad.1614964608.txt.gz · Last modified: 2021/03/05 17:16 by Santiago Faci