dont deploy on dockerfile.sonar

This commit is contained in:
Alexandros Mandilaras 2023-12-22 16:21:31 +02:00
parent 1906360a7d
commit 2e34bd4aa2
1 changed files with 3 additions and 3 deletions

View File

@ -28,10 +28,10 @@ RUN if [ "$PROFILE" = "ossrh" ]; then \
COPY oracle.local.cite.gr.crt $JAVA_HOME/conf/security
RUN cd $JAVA_HOME/conf/security && keytool -cacerts -storepass changeit -noprompt -trustcacerts -importcert -alias oraclecert -file oracle.local.cite.gr.crt
# WORKDIR /build/
WORKDIR /build/
# COPY . .
COPY . .
# RUN mvn -Drevision=${REVISION} -DdevProfileUrlDeposit=${DEV_PROFILE_URL_DEPOSIT} -DdevProfileUrl=${DEV_PROFILE_URL} -P${PROFILE} clean deploy
RUN mvn -Drevision=${REVISION} -DdevProfileUrlDeposit=${DEV_PROFILE_URL_DEPOSIT} -DdevProfileUrl=${DEV_PROFILE_URL} -P${PROFILE} clean install
RUN mvn sonar:sonar -Dsonar.projectKey=OpenDMP:file-transformer-base -Dsonar.login=${ORACLE_TOKEN} -Dsonar.host.url=${ORACLE_URL} -Dsonar.projectName='OpenDMP file-transformer-base'