Skip to content

Commit

Permalink
Update pipeline -jm
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Manuel Medina committed Dec 18, 2024
1 parent 5f419e4 commit 437bbc6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/pipelineIC.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
#Valida y configura archivo build.gradle
- name: Validate and Configure build.gradle
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
#SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
TK_SONARCLOUD: ${{ secrets.TK_SONARCLOUD }}
run: |
if [ -f "build.gradle" ]; then
echo "Archivo build.gradle encontrado."
Expand All @@ -45,7 +46,8 @@ jobs:
- name: Validate or Create SonarCloud Project
id: validate-project
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
#SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
TK_SONARCLOUD: ${{ secrets.TK_SONARCLOUD }}
REPO_NAME: ${{ github.event.repository.name }}
run: |
echo "Verificando si el proyecto $REPO_NAME existe en SonarCloud..."
Expand Down Expand Up @@ -84,7 +86,8 @@ jobs:
- name: Perform Initial Analysis (if Project Created)
if: env.project_created == 'true'
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
#SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
TK_SONARCLOUD: ${{ secrets.TK_SONARCLOUD }}
REPO_NAME: ${{ github.event.repository.name }}
run: |
echo "Realizando análisis inicial en la rama main..."
Expand All @@ -98,7 +101,8 @@ jobs:
- name: Perform Branch Analysis
if: env.project_created == 'false'
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
#SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
TK_SONARCLOUD: ${{ secrets.TK_SONARCLOUD }}
REPO_NAME: ${{ github.event.repository.name }}
BRANCH_NAME: ${{ github.ref_name }}
run: |
Expand All @@ -112,7 +116,8 @@ jobs:
- name: Validate Quality Gate
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
#SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
TK_SONARCLOUD: ${{ secrets.TK_SONARCLOUD }}
REPO_NAME: ${{ github.event.repository.name }}
run: |
echo "Validando el estado del Quality Gate..."
Expand Down
Binary file modified .gradle/7.3.1/checksums/checksums.lock
Binary file not shown.
Binary file modified .gradle/7.3.1/checksums/md5-checksums.bin
Binary file not shown.
Binary file modified .gradle/7.3.1/checksums/sha1-checksums.bin
Binary file not shown.

0 comments on commit 437bbc6

Please sign in to comment.