Update github action file
This commit is contained in:
parent
1e4dc6d88e
commit
8de74eaee4
|
|
@ -41,6 +41,7 @@ jobs:
|
||||||
export PROJECT_NAME="Standard Modules ${SAFE_BRANCH_NAME^}"
|
export PROJECT_NAME="Standard Modules ${SAFE_BRANCH_NAME^}"
|
||||||
export SOURCE_FOLDER_NAME="${BRANCH_NAME#master_}"
|
export SOURCE_FOLDER_NAME="${BRANCH_NAME#master_}"
|
||||||
export PROJECT_VERSION="1.0"
|
export PROJECT_VERSION="1.0"
|
||||||
|
export SONAR_HOST_URL=${{ secrets.SONAR_HOST_URL }}
|
||||||
export SONAR_TOKEN=${{ secrets.SONAR_TOKEN }}
|
export SONAR_TOKEN=${{ secrets.SONAR_TOKEN }}
|
||||||
|
|
||||||
sonar-scanner \
|
sonar-scanner \
|
||||||
|
|
@ -51,7 +52,7 @@ jobs:
|
||||||
-Dsonar.inclusions="**/*.py, **/*.xml, **/*.js" \
|
-Dsonar.inclusions="**/*.py, **/*.xml, **/*.js" \
|
||||||
-Dsonar.exclusions="**/__manifest__.py, **/migrations/**, **/__pycache__/**" \
|
-Dsonar.exclusions="**/__manifest__.py, **/migrations/**, **/__pycache__/**" \
|
||||||
-Dsonar.sourceEncoding="UTF-8" \
|
-Dsonar.sourceEncoding="UTF-8" \
|
||||||
-Dsonar.host.url="https://sonar.odex.sa" \
|
-Dsonar.host.url="$SONAR_HOST_URL" \
|
||||||
-Dsonar.login="$SONAR_TOKEN"
|
-Dsonar.login="$SONAR_TOKEN"
|
||||||
|
|
||||||
- name: Cleanup workspace
|
- name: Cleanup workspace
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue