File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ RUN if [ "$INSTALL_ANT" = "true" ]; then \
249249# SonarQube Scanner
250250RUN if [ "$INSTALL_SONARQUBE" = "true" ]; then \
251251 curl -fsSLo /tmp/sonar-scanner-cli.zip "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${SONAR_SCANNER_VERSION}-linux.zip" \
252- && rm -rf /opt/sonar-scanner /tmp/sonar-scanner \
252+ && rm -rf /opt/sonar-scanner \
253253 && mkdir -p /tmp/sonar-scanner \
254254 && unzip /tmp/sonar-scanner-cli.zip -d /tmp/sonar-scanner \
255255 && mv "/tmp/sonar-scanner/sonar-scanner-${SONAR_SCANNER_VERSION}-linux" /opt/sonar-scanner \
@@ -270,7 +270,7 @@ RUN if [ "$INSTALL_PMD" = "true" ]; then \
270270 mkdir -p /opt/pmd \
271271 && curl -fsSLo /opt/pmd.zip "https://github.com/pmd/pmd/releases/download/pmd_releases/${PMD_VERSION}/pmd-dist-${PMD_VERSION}-bin.zip" \
272272 && unzip /opt/pmd.zip -d /opt \
273- && mv /opt/pmd-* /opt/pmd \
273+ && mv " /opt/pmd-bin-${PMD_VERSION}" /opt/pmd \
274274 && rm /opt/pmd.zip \
275275 && echo 'export PATH=$PATH:/opt/pmd/bin' >> /etc/bash.bashrc; \
276276 fi
You can’t perform that action at this time.
0 commit comments