Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"No such file or directory" for any pysh when Jenkins project name contain spaces #3

Closed
tal5ab opened this issue Oct 9, 2017 · 1 comment
Assignees
Labels

Comments

@tal5ab
Copy link

tal5ab commented Oct 9, 2017

i renamed my project , and my pipeline stopped working
I was getting :

[aa aa] Running shell script

  • . '/var/jenkins/workspace/aa aa/.pyenv-usr-local-bin-python3.6/bin/activate;' ls -la
    /var/jenkins/workspace/aa aa@tmp/durable-e7579f4b/script.sh: line 2: /var/jenkins/workspace/aa aa/.pyenv-usr-local-bin-python3.6/bin/activate;: No such file or directory

Removing the spaces in the project name fixed the issue

withPythonEnv('/usr/local/bin/python3.6'){
                //Build
                pysh 'ls -la'
            }
@cstarner cstarner added the bug label Oct 9, 2017
@cstarner cstarner self-assigned this Oct 9, 2017
cstarner added a commit that referenced this issue Oct 23, 2017
@cstarner
Copy link

The fix has been incorporated in v1.0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants