-
Bug
-
Resolution: Fixed
-
Major
-
None
If a Jenkins workspace contains a space, execution of the Snyk plugin will fail with the following:
Installing Snyk Security tool (version 'latest')
Testing for known issues...
> /var/lib/jenkins/tools/io.snyk.jenkins.tools.SnykInstallation/Latest_Version/node_modules/.bin/snyk test --json --severity-threshold=high --project-name=myapp-android
Error result: ===== DEBUG INFORMATION START =====
[COULD NOT RUN gradle -v]
>>> command: /var/lib/jenkins/workspace/myapp - android/gradlew snykResolvedDepsJson -q --build-file build.gradle --no-daemon -Dorg.gradle.parallel= -I /tmp/tmp-11153lDMTd6CV2URC-init.gradle
>>> exit code: 127
>>> stdout:
>>> stderr:
/bin/sh: 1: /var/lib/jenkins/workspace/myapp: not found
===== DEBUG INFORMATION END =====