This commit is contained in:
parent
a4fb772ded
commit
9e2a45e89d
22
.drone.yml
22
.drone.yml
@ -6,17 +6,17 @@ workspace:
|
||||
base: /drone/src
|
||||
|
||||
steps:
|
||||
# # Paso 1: Build y tests con Maven (Java 21)
|
||||
# - name: build-and-test
|
||||
# image: maven:3.9-eclipse-temurin-21-alpine
|
||||
# environment:
|
||||
# MAVEN_OPTS: -Xmx2048m -XX:+TieredCompilation -XX:TieredStopAtLevel=1
|
||||
# commands:
|
||||
# - mvn clean verify
|
||||
# - mvn jacoco:report # Generar reporte de cobertura
|
||||
# volumes:
|
||||
# - name: maven-cache
|
||||
# path: /root/.m2
|
||||
# Paso 1: Build y tests con Maven (Java 21)
|
||||
- name: build-and-test
|
||||
image: maven:3.9-eclipse-temurin-21-alpine
|
||||
environment:
|
||||
MAVEN_OPTS: -Xmx2048m -XX:+TieredCompilation -XX:TieredStopAtLevel=1
|
||||
commands:
|
||||
- mvn clean verify
|
||||
- mvn jacoco:report # Generar reporte de cobertura
|
||||
volumes:
|
||||
- name: maven-cache
|
||||
path: /root/.m2
|
||||
|
||||
# # Paso 2: Análisis SonarQube con Maven
|
||||
# - name: sonarqube-analysis
|
||||
|
Loading…
x
Reference in New Issue
Block a user