-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins 1.642.2, P4 1.3.7, Coverity 1.7.1
The Coverity plugin no longer wraps the SCM tool-arg in quotes resulting in the following error from cov-import-scm:
[Coverity] cmd so far is: [/opt/Coverity/7.7.0.4/bin/cov-import-scm, --dir, /space/jenkins/coverity/temp-4876590152075836734.tmp, --scm, perforce, --tool-arg, -u, X_USER_X, -c, X_CLIENT_X]
$ /opt/Coverity/7.7.0.4/bin/cov-import-scm --dir /space/jenkins/coverity/temp-4876590152075836734.tmp --scm perforce --tool-arg -u X_USER_X -c X_CLIENT_X
[COMMAND LINE ERROR] Extra token 'X_USER_X' at the end of the command line. Please only specify one value for each option and ensure that all options are preceded with the '' or '-' characters.
Specify --help for assistance.
[Coverity] cov-import-scm returned 2, aborting...
This has been broken since v1.5.1 where it properly wrapped the tool-arg in quotes:
[Coverity] cmd so far is: [/opt/Coverity/7.7.0.4/bin/cov-import-scm, --dir, /space/jenkins/coverity/temp-965120676354190776.tmp, --scm, perforce, --tool-arg, -u X_USER_X -c X_CLIENT_X]
$ /opt/Coverity/7.7.0.4/bin/cov-import-scm --dir /space/jenkins/coverity/temp-965120676354190776.tmp --scm perforce --tool-arg "-u X_USER_X -c X_CLIENT_X"
Extracting SCM data for 155 files...