Fix mount point for codenarc docker
Change-Id: I2b59ea4a34c79141ee3a4b9c94ccfd6b34bd3cf1
diff --git a/jobs/pipelines/gate-tcp-qa.groovy b/jobs/pipelines/gate-tcp-qa.groovy
index 9f62e8f..9b56064 100644
--- a/jobs/pipelines/gate-tcp-qa.groovy
+++ b/jobs/pipelines/gate-tcp-qa.groovy
@@ -10,14 +10,14 @@
sh '''#!/bin/bash -ex
docker run --rm \
-t --user "\$(id -u):\$(id -g)" \
- -w \$PWD -v ${WORKSPACE}:/shared \
+ -v ${WORKSPACE}:/ws \
docker-prod-local.docker.mirantis.net/infra/codenarc:latest \
-rulesetfiles="rulesets/basic.xml" \
-maxPriority1Violations=0 \
-maxPriority2Violations=0 \
-maxPriority3Violations=0 \
-report=console \
- -report=html:/shared/report.html 2>&1 \
+ -report=html:/ws/report.html 2>&1 \
| tee report.log
if [ "${PIPESTATUS[0]}" != '0' ]; then
exit 1