From 019aa3055bef1c3b23534c95485077b68bc3ffcb Mon Sep 17 00:00:00 2001 From: amandilaras Date: Tue, 23 Apr 2024 14:37:12 +0300 Subject: [PATCH] add all env variables to sonar scanner command --- notification-service/Dockerfile.Sonar | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notification-service/Dockerfile.Sonar b/notification-service/Dockerfile.Sonar index 086fcc99e..7bf834b01 100644 --- a/notification-service/Dockerfile.Sonar +++ b/notification-service/Dockerfile.Sonar @@ -27,4 +27,4 @@ WORKDIR /build/ RUN mvn -Drevision=${REVISION} -DciteMavenRepoUrl=${CITE_MAVEN_REPO_URL} -P${PROFILE} clean RUN mvn -Drevision=${REVISION} -DciteMavenRepoUrl=${CITE_MAVEN_REPO_URL} -P${PROFILE} install RUN mvn -Drevision=${REVISION} -DciteMavenRepoUrl=${CITE_MAVEN_REPO_URL} -P${PROFILE} package -RUN mvn sonar:sonar -Dsonar.projectKey=OpenDMP:notification-api -Dsonar.login=${ORACLE_TOKEN} -Dsonar.host.url=${ORACLE_URL} -Dsonar.projectName='OpenDMP Notification API' \ No newline at end of file +RUN mvn sonar:sonar -Drevision=${REVISION} -DciteMavenRepoUrl=${CITE_MAVEN_REPO_URL} -P${PROFILE} -Dsonar.projectKey=OpenDMP:notification-api -Dsonar.login=${ORACLE_TOKEN} -Dsonar.host.url=${ORACLE_URL} -Dsonar.projectName='OpenDMP Notification API' \ No newline at end of file