Skip to content
Snippets Groups Projects
Verified Commit 4b51fc87 authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

add sonarqube to CI pipeline

parent 7bc7cdc5
No related branches found
No related tags found
1 merge request!74add sonarqube to CI pipeline
Pipeline #85218 passed
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
stages: stages:
- tox - tox
- documentation - documentation
- sonarqube
- trigger_jenkins_build - trigger_jenkins_build
include: include:
...@@ -42,6 +43,14 @@ run-tox-pipeline: ...@@ -42,6 +43,14 @@ run-tox-pipeline:
- htmlcov - htmlcov
- docs/source/_static/openapi.json - docs/source/_static/openapi.json
sonarqube:
stage: sonarqube
image: sonarsource/sonar-scanner-cli
script:
- sonar-scanner -Dsonar.login=$SONAR_TOKEN -Dproject.settings=./sonar.properties
tags:
- docker-executor
trigger_jenkins_build: trigger_jenkins_build:
stage: trigger_jenkins_build stage: trigger_jenkins_build
image: alpine:latest image: alpine:latest
......
MIT License MIT License
Copyright (c) 2023 GÉANT Vereniging Copyright (c) 2023-2024 GÉANT Vereniging
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal
......
sonar.projectKey=lso
sonar.projectName='Lightweight Service Orchestrator'
sonar.projectVersion=1.0
sonar.sources=lso
sonar.python.coverage.reportPaths=coverage.xml
sonar.host.url=https://sonarqube.software.geant.org/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment