Test launcher: mount volumes in correct path
The current path where the one from the docker server, not
the container. I noticed the issue when I realized the resulting
volumes was always empty.
Change-Id: I52eb78bc21bec47cbb279db629efa349362de7fe
diff --git a/jenkins/test/test.sh b/jenkins/test/test.sh
index 5dba310..7a5dcbf 100755
--- a/jenkins/test/test.sh
+++ b/jenkins/test/test.sh
@@ -39,10 +39,10 @@
PORT="${OPTARG}"
;;
h)
- VOLUMES=(-v "${OPTARG}:/volumes/jenkins_home")
+ VOLUMES=(-v "${OPTARG}:/var/jenkins_home")
;;
s)
- VOLUMES=(-v "${OPTARG}:/volumes/secrets")
+ VOLUMES=(-v "${OPTARG}:/opt/secrets")
;;
*)
echo "Usage: $0 [-p <port>] [-s </volumes/secrets>] [-h </volumes/jenkins_home>]" >&2