In the additional arguments fields for cov-build, cov-analyze, cov-commit, etc., Jenkins build variables are not able to be used. I tried to add the following to additional cov-commit-defects arguments:
--strip-path "${WORKSPACE}" --target x86 --description "from Jenkins"
and the variable is not replaced with the workspace, it actually tried to strip the path of '${WORKSPACE}' which is obviously not what you want to do.
- is blocking
-
JENKINS-18551 Coverity Plugin Is Incompatible with MSBuild Plugin
-
- Closed
-
+ 1.
Another example:
$ /usr/local/coverity5/bin/cov-commit-defects --dir /storage/jenkins/coverity/TLINKSERVER_MAINLINE_COVERITY --host coverity55 --port 8080 --stream tlinkserver_trunk --user admin --description ${BUILD_TAG}
"${BUILD_TAG}" is a global variable