-
Notifications
You must be signed in to change notification settings - Fork 615
Description
Hello, I have a Jenkins pipeline for executing Performance tests. I tried passing the dockerVolumeBind property for my piper command and it never works. I always get an error. Is there something wrong with how I pass the arguments, or is there a problem with the property? When I pass it like this:
dockerVolumeBind: [ "/var/run/docker.sock": "/var/run/docker.sock"], I get this error:
17:53:35 The error was:
17:53:35 ***
17:53:35 java.lang.NullPointerException: Cannot invoke method split() on null object
If I pass it as a whole string:
dockerVolumeBind: "['/var/run/docker.sock': '/var/run/docker.sock']", I get an Index out of bounds exception:
The error was:
17:45:21 ***
17:45:21 java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
17:45:21 ***
I saw another two GitHub issues, but they seemed closed due to inactivity. So this is why I decided to make a new Issue. I hope this was the right way to do it.