Skip to content

Commit 22249ce

Browse files
committed
Issue #179: add force to rm command as on first executions logs folder is empty
1 parent 710803a commit 22249ce

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

wercker.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,8 @@ build:
2020
echo "POM_VERSION="$POM_VERSION
2121
mvn package -Pno-validations
2222
cp checkstyle-sonar-plugin/target/checkstyle-sonar-plugin-$POM_VERSION.jar /opt/sonarqube/extensions/plugins/
23-
pwd
2423
cd /opt/sonarqube/
25-
pwd
26-
ls -la
27-
ls -la logs/
28-
rm logs/*.*
24+
rm -f logs/*.*
2925
./bin/run.sh &
3026
echo "sleeping 30 to let sonar start up"
3127
sleep 30

0 commit comments

Comments
 (0)