[JIRA] (JENKINS-57356) Spaces in workspace path

36 views
Skip to first unread message

steve.springett@owasp.org (JIRA)

unread,
May 7, 2019, 11:37:02 AM5/7/19
to jenkinsc...@googlegroups.com
Steve Springett created an issue
 
Jenkins / Bug JENKINS-57356
Spaces in workspace path
Issue Type: Bug Bug
Assignee: Assaf hefetz
Components: snyk-security-plugin
Created: 2019-05-07 15:36
Priority: Major Major
Reporter: Steve Springett

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

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

steve.springett@owasp.org (JIRA)

unread,
May 8, 2019, 12:06:02 PM5/8/19
to jenkinsc...@googlegroups.com
Steve Springett closed an issue as Fixed
 

This issue seems to have been resolved in the latest version of the CLI.

Change By: Steve Springett
Status: Open Closed
Resolution: Fixed
Reply all
Reply to author
Forward
0 new messages