added env variables
SonarQube Analysis / Build and Analyze (pull_request) Failing after 2s

This commit is contained in:
2026-06-25 21:32:28 +02:00
parent 597c941994
commit bdbfece62c
+10 -1
View File
@@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
container:
image: node:24
image: ubuntu-latest
options: --network pg_network
steps:
@@ -52,5 +52,14 @@ jobs:
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
DB_URL: ${{ secrets.DB_URL }}
DB_USERNAME: ${{ secrets.DB_USERNAME }}
DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
PG_DRIVER_CLASS_NAME: org.postgresql.Driver
OPENAI_BASE_URL: https://api.openai.com/v1
OPENAI_KEY: ${{ secrets.OPENAI_KEY }}
ALLOWED_ORIGINS: http://localhost:3000
run: ./gradlew build sonar --info
working-directory: backend