Skip to content

Commit ac18153

Browse files
author
Adam Soos
committed
no-jira: run the cleanup every time
1 parent eb8e8f4 commit ac18153

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

CI.Jenkinsfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@ node ("docker-light") {
2222
bash -c \"apt-get update && \
2323
apt-get install -y git && \
2424
pushd /source && \
25-
/opt/maven-basis/bin/mvn --batch-mode clean install sonar:sonar $mySonarOpts && \
25+
/opt/maven-basis/bin/mvn --batch-mode clean install sonar:sonar $mySonarOpts; \
26+
maven_ret=\$?; \
2627
echo && \
2728
echo [INFO] Set file permissions to UID and GID of jenkins user for cleanup. && \
28-
chown -R 9960:9960 /source\""
29+
chown -R 9960:9960 /source && \
30+
exit \$maven_ret\"
2931
}
3032
}
3133
postToTeams(true)

0 commit comments

Comments
 (0)