Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-57356

Spaces in workspace path

XMLWordPrintable

      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 =====

            assaf Assaf hefetz
            sspringett Steve Springett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: