Skip to content

Commit 6ed0e1d

Browse files
committed
WS-2609: Install git. Use batch mode for sonar.
1 parent 43bc166 commit 6ed0e1d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

CI.Jenkinsfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@ node ("docker-light") {
1313
--pull always \
1414
--volume ${sourceDir}:/source \
1515
--volume /opt/maven-basis:/opt/maven-basis \
16-
--volume /bin/git:/bin/git \
1716
eclipse-temurin:17-jdk-focal \
18-
bash -c \"pushd /source && \
17+
bash -c \"apt-get update && \
18+
apt-get install -y git && \
19+
pushd /source && \
1920
/opt/maven-basis/bin/mvn --batch-mode clean install && \
20-
/opt/maven-basis/bin/mvn sonar:sonar \
21+
/opt/maven-basis/bin/mvn --batch-mode sonar:sonar \
2122
-Dsonar.login=${env.SONAR_AUTH_TOKEN} \
2223
-Dsonar.host.url=${env.SONAR_HOST_URL}\""
2324
}

0 commit comments

Comments
 (0)