Skip to content

Commit

Permalink
Updated test in Main.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianavillar committed Dec 20, 2024
1 parent 4af809f commit 5870b74
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: push

jobs:
build:
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- name: Download repository
uses: actions/checkout@v2
Expand Down Expand Up @@ -50,9 +50,20 @@ jobs:
qa:
needs: test
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: qa
run: echo "Ejecutando análisis de calidad!"
- name: Descargar repositorio
uses: actions/checkout@v2
- name: Instalar JDK 11
uses: actions/setup-java@v2
with:
java-version: "11"
distribution: "adopt"
- name: Construir con Maven
run: mvn clean package -DskipTests
- name: Revisar la calidad con Sonarqube
run: |
mvn sonar:sonar -Dsonar.host.url=http://localhost:9000 -Dsonar.qualitygate.wait=true -Dsonar.login=admin -Dsonar.password=admin1
deploy:
needs: qa
Expand Down

0 comments on commit 5870b74

Please sign in to comment.